Difference between revisions of "Template:Ibox-US"

From blackwiki
Jump to navigation Jump to search
imported>JLaTondre
(removing stale construction template as last edited > 7 days ago)
imported>WOSlinker
(tidy style)
 
Line 1: Line 1:
 
<includeonly><div style={{#switch:{{{2|right}}}|left="float:left;border:1px solid #002664;margin:0 1em 1em 0;"|center="align:center;border:1px solid #002664;margin:0 1em 1em 1em;"|"float:right;border:1px solid #002664;margin:0 0 1em 1em;"}}>
 
<includeonly><div style={{#switch:{{{2|right}}}|left="float:left;border:1px solid #002664;margin:0 1em 1em 0;"|center="align:center;border:1px solid #002664;margin:0 1em 1em 1em;"|"float:right;border:1px solid #002664;margin:0 0 1em 1em;"}}>
 
{|style="font:normal bold 10pt/12pt sans-serif;padding:0.4em;"
 
{|style="font:normal bold 10pt/12pt sans-serif;padding:0.4em;"
|align=center|[[United States|The United States of America]]
+
| style="text-align:center;" |[[United States|The United States of America]]
 
|-
 
|-
|align=center|<div style="border:1px solid #002664">[[File:Flag of the United States (Pantone).svg|alt=Flag of the United States|183px]]</div>
+
| style="text-align:center;" |<div style="border:1px solid #002664">[[File:Flag of the United States (Pantone).svg|alt=Flag of the United States|183px]]</div>
 
|-
 
|-
|align=center|[[File:US-GreatSeal-Obverse.svg|alt=Obverse of the Great Seal of the United States|90px]]&nbsp;[[File:US Great Seal Reverse.svg|alt=Reverse of the Great Seal of the United States|90px]]
+
| style="text-align:center;" |[[File:US-GreatSeal-Obverse.svg|alt=Obverse of the Great Seal of the United States|90px]]&nbsp;[[File:US Great Seal Reverse.svg|alt=Reverse of the Great Seal of the United States|90px]]
 
|-
 
|-
 
{{#switch:{{{1|}}}|=
 
{{#switch:{{{1|}}}|=
|all={{!}}align=center{{!}}[[Political divisions of the United States|The political divisions of the<br/>United States]]
+
|all={{!}} style="text-align:center;" {{!}}[[Political divisions of the United States|The political divisions of the<br/>United States]]
|DC={{!}}align=center{{!}}[[Washington, D.C.|The District of Columbia]]
+
|DC={{!}} style="text-align:center;" {{!}}[[Washington, D.C.|The District of Columbia]]
|federal={{!}}align=center{{!}}[[Federal government of the United States|The federal government<br/>of the United States]]
+
|federal={{!}} style="text-align:center;" {{!}}[[Federal government of the United States|The federal government<br/>of the United States]]
|in={{!}}align=center{{!}}[[Political divisions of the United States|The 50 states and the federal<br/>district of the United States]]
+
|in={{!}} style="text-align:center;" {{!}}[[Political divisions of the United States|The 50 states and the federal<br/>district of the United States]]
|insular={{!}}align=center{{!}}[[Insular area|An insular area of the<br/>United States]]
+
|insular={{!}} style="text-align:center;" {{!}}[[Insular area|An insular area of the<br/>United States]]
|insulars={{!}}align=center{{!}}[[Insular area|The insular areas of the<br/>United States]]
+
|insulars={{!}} style="text-align:center;" {{!}}[[Insular area|The insular areas of the<br/>United States]]
|state={{!}}align=center{{!}}[[U.S. state|A state of the United States]]
+
|state={{!}} style="text-align:center;" {{!}}[[U.S. state|A state of the United States]]
|states={{!}}align=center{{!}}[[U.S. state|The 50 United States]]
+
|states={{!}} style="text-align:center;" {{!}}[[U.S. state|The 50 United States]]
|territories={{!}}align=center{{!}}[[Insular area|The territories of the<br/>United States]]
+
|territories={{!}} style="text-align:center;" {{!}}[[Insular area|The territories of the<br/>United States]]
|territory={{!}}align=center{{!}}[[Insular area|A territory of the<br/>United States]]
+
|territory={{!}} style="text-align:center;" {{!}}[[Insular area|A territory of the<br/>United States]]
|#default={{!}}align=center{{!}}{{{1|}}}}}
+
|#default={{!}} style="text-align:center;" {{!}}{{{1|}}}}}
 
|}</div></includeonly><noinclude>{{documentation}}</noinclude>
 
|}</div></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 09:18, 23 November 2014

50px Template documentation[view] [edit] [history] [purge]

This template creates an iconbox for articles and lists related to the United States of America.

Use

The full syntax of this template is:

{{Ibox-US|foot|float}}

Parameters

  • foot is an optional iconbox footer parameter:
    • If foot is empty, the iconbox will have no footer.
    • If foot is all, the internal footer link will be [[Political divisions of the United States|The political divisions of the<br/>United States]]
    • If foot is DC, the internal footer link will be [[Washington, D.C.|The District of Columbia]].
    • If foot is federal, the internal footer link will be [[Federal government of the United States|The federal government<br/>of the United States]].
    • If foot is in, the internal footer link will be [[Political divisions of the United States|The 50 states and the federal<br/>district of the United States]].
    • If foot is insular, the internal footer link will be [[Insular area|An insular area of the<br/>United States]].
    • If foot is insulars, the internal footer link will be [[Insular area|The insular areas of the<br/>United States]].
    • If foot is state, the internal footer link will be [[U.S. state|A state of the United States]].
    • If foot is states, the internal footer link will be [[U.S. state|The 50 United States]].
    • If foot is territories, the internal footer link will be [[Insular area|The territories of the<br/>United States]].
    • If foot is territory, the internal footer link will be [[Insular area|A territory of the<br/>United States]].
    • If foot is anything else, the iconbox footer will be foot.
  • float is an optional iconbox float parameter:
    • If float is left, the iconbox will float left.
    • If float is anything else, the iconbox will float right.

Examples

{{ibox-US}} creates:
{{ibox-US|federal}} creates:
{{ibox-US|states}} creates:
{{ibox-US|all}} creates:

{{ibox-US|[[United States Army|The United States Army]]|left}} creates:

See also