Difference between revisions of "Template:Iceland national football team results"

From blackwiki
Jump to navigation Jump to search
imported>Anomalocaris
m (<center>...</center> → <div style="text-align: center;">...</div>)
imported>Sakiv
 
Line 1: Line 1:
<div style="float:right;">
+
<includeonly>{{#if:{{{key|}}}
{|cellpadding=2 cellspacing=0 style="background:#f9f9f9; border:1px solid; margin: 0 0 1em 1em; padding:.3em;" width=300
+
|{{stack begin|clear=true}}
!style="background:#f9f9f9; border-bottom:1px solid;"|[[File:Flag of Iceland.svg|border|200px|link=|alt=]]<br>Iceland national football team results
+
}}{{sidebar
|-
+
| image = [[File:Flag of Iceland.svg|border|200px|link=|alt=]]
| style="text-align:center;" |
+
| title = Iceland national football team results
* [[Iceland national football team results (2000–19)|2000–2019 (matches 765–)]]
+
| titlestyle = font-size:110%
* [[Iceland national football team results (1980–99)|1980–1999 (matches 537–764)]]
+
| contentclass = plainlist
* [[Iceland national football team results (1960–79)|1960–1979 (matches 14–536)]]
+
| content1 =
* [[Iceland national football team results (1940–59)|1940–1959 (matches 1–13)]]
+
* [[Iceland national football team results (2020–present)|2020–present (matches 490–)]]
 +
* [[Iceland national football team results (2000–19)|2000–2019 (matches 286–489)]]
 +
* [[Iceland national football team results (1980–99)|1980–1999 (matches 114–285)]]
 +
* [[Iceland national football team results (1960–79)|1960–1979 (matches 27–113)]]
 +
* [[Iceland national football team results (1940–59)|1940–1959 (matches 1–26)]]
 
----
 
----
 
* [[Iceland national football team results – unofficial matches|unofficial matches]]
 
* [[Iceland national football team results – unofficial matches|unofficial matches]]
|-
+
}}{{#if:{{{key|}}}|
|}
+
{{center|{{legend2|#CFC|Win|border=1px solid #AAA}}&nbsp;&nbsp;{{legend2|#FFC|Draw|border=1px solid #AAA}}&nbsp;&nbsp;{{legend2|#FCC|Loss|border=1px solid #AAA}}{{#ifeq:{{{key}}}|2|&nbsp;&nbsp;{{legend2|#CCC|Void|border=1px solid #AAA}}}}}}
{{#if:{{{key|}}}|<div style="text-align: center;">{{legend2|#CFC|Win|border=1px solid #AAA}}&nbsp;&nbsp;{{legend2|#FFC|Draw|border=1px solid #AAA}}&nbsp;&nbsp;{{legend2|#FCC|Loss|border=1px solid #AAA}}{{#ifeq:{{{key}}}|2|&nbsp;&nbsp;{{legend2|#CCC|Void|border=1px solid #AAA}}}}</div>}}</div><noinclude>
+
{{stack end}}}}</includeonly><noinclude>
[[Category:National football team results sidebars]]</noinclude>
+
{{documentation|content=
 +
{{{{PAGENAME}}|key=2}}
 +
==Usage==
 +
: {{tld|{{PAGENAME}}}} (no key)
 +
: {{tld|{{PAGENAME}}|key{{=}}1}} (WDL key)
 +
: {{tld|{{PAGENAME}}|key{{=}}2}} (WDLV key)
 +
[[Category:Iceland football templates]]
 +
[[Category:National football team results sidebars]]
 +
}}</noinclude>

Latest revision as of 19:33, 16 November 2020

Template documentation
Template:Stack begin
  Win    Draw    Loss    Void

Template:Stack end

Usage

{{Iceland national football team results}} (no key)
{{Iceland national football team results|key=1}} (WDL key)
{{Iceland national football team results|key=2}} (WDLV key)