Difference between revisions of "Template:Ibox-US"
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 | + | | style="text-align:center;" |[[United States|The United States of America]] |
|- | |- | ||
| − | |align | + | | 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 | + | | style="text-align:center;" |[[File:US-GreatSeal-Obverse.svg|alt=Obverse of the Great Seal of the United States|90px]] [[File:US Great Seal Reverse.svg|alt=Reverse of the Great Seal of the United States|90px]] |
|- | |- | ||
{{#switch:{{{1|}}}|= | {{#switch:{{{1|}}}|= | ||
| − | |all={{!}}align | + | |all={{!}} style="text-align:center;" {{!}}[[Political divisions of the United States|The political divisions of the<br/>United States]] |
| − | |DC={{!}}align | + | |DC={{!}} style="text-align:center;" {{!}}[[Washington, D.C.|The District of Columbia]] |
| − | |federal={{!}}align | + | |federal={{!}} style="text-align:center;" {{!}}[[Federal government of the United States|The federal government<br/>of the United States]] |
| − | |in={{!}}align | + | |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 | + | |insular={{!}} style="text-align:center;" {{!}}[[Insular area|An insular area of the<br/>United States]] |
| − | |insulars={{!}}align | + | |insulars={{!}} style="text-align:center;" {{!}}[[Insular area|The insular areas of the<br/>United States]] |
| − | |state={{!}}align | + | |state={{!}} style="text-align:center;" {{!}}[[U.S. state|A state of the United States]] |
| − | |states={{!}}align | + | |states={{!}} style="text-align:center;" {{!}}[[U.S. state|The 50 United States]] |
| − | |territories={{!}}align | + | |territories={{!}} style="text-align:center;" {{!}}[[Insular area|The territories of the<br/>United States]] |
| − | |territory={{!}}align | + | |territory={{!}} style="text-align:center;" {{!}}[[Insular area|A territory of the<br/>United States]] |
| − | |#default={{!}}align | + | |#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
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
footis an optional iconbox footer parameter:- If
footis empty, the iconbox will have no footer. - If
footisall, the internal footer link will be[[Political divisions of the United States|The political divisions of the<br/>United States]] - If
footisDC, the internal footer link will be[[Washington, D.C.|The District of Columbia]]. - If
footisfederal, the internal footer link will be[[Federal government of the United States|The federal government<br/>of the United States]]. - If
footisin, 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
footisinsular, the internal footer link will be[[Insular area|An insular area of the<br/>United States]]. - If
footisinsulars, the internal footer link will be[[Insular area|The insular areas of the<br/>United States]]. - If
footisstate, the internal footer link will be[[U.S. state|A state of the United States]]. - If
footisstates, the internal footer link will be[[U.S. state|The 50 United States]]. - If
footisterritories, the internal footer link will be[[Insular area|The territories of the<br/>United States]]. - If
footisterritory, the internal footer link will be[[Insular area|A territory of the<br/>United States]]. - If
footis anything else, the iconbox footer will befoot.
- If
floatis an optional iconbox float parameter:- If
floatisleft, the iconbox will float left. - If
floatis anything else, the iconbox will float right.
- If
Examples
{{ibox-US}} creates:
{{ibox-US|federal}} creates:
{{ibox-US|states}} creates:
| The United States of America |
| 90px File:Great Seal of the United States (reverse).svg |
| The political divisions of the United States |
{{ibox-US|all}} creates:
{{ibox-US|[[United States Army|The United States Army]]|left}} creates:
| The United States of America |
| 90px File:Great Seal of the United States (reverse).svg |
| The United States Army |
See also
| The above documentation is transcluded from Template:Ibox-US/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |