You need to be logged into the wiki to be able to edit! To login or join the wiki, click here. |
Difference between revisions of "Template:Infobox town"
Line 29: | Line 29: | ||
| label7 = Nation | | label7 = Nation | ||
− | | data7 = {{{Current nation|{{{Current_nation|}}} | + | | data7 = {{{Current nation|{{{Current_nation|}}}}}} |
| label8 = Former Nations | | label8 = Former Nations |
Revision as of 14:36, 20 April 2012
{{Infobox | child = {{{embed}}} | bodyclass = vcard | imageclass = {{#switch: | Replace this image male.svg | Replace this image female.svg | 150px=metadata dummy
}} |
[[File:|{{safesubst:#if:{{#ifeq:|yes|Template:Minx200px}} | yes|Template:Minx200px}}{{safesubst:#iferror:{{safesubst:#expr:{{#ifeq:|yes|Template:Minx200px}}>0}} | px}} | {{safesubst:#if: | {{safesubst:#iferror:{{safesubst:#expr:>0}} | px}} | frameless{{safesubst:#iferror:{{safesubst:#expr:frameless>0}} | px}}
}} }}|alt=|]]}} |
caption = | Town info}} | label2 = Town name | data2 = | label3 = Created | data3 = | label4 = Disbanded | data4 = | label5 = Leader | data5 = | label6 = Amount of members | data6 = | label7 = Nation | data7 = | label8 = Former Nations | {{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}}{{#switch: |
Replace this image male.svg | Replace_this_image_male.svg | Replace this image female.svg | Replace_this_image_female.svg=
}}{{#ifeq:Template||{{#if:|{{#ifeq:Template||}}}}{{#if:|}}{{#if:|{{#if:|}}}}}}{{#if:|}} |
{{#ifeq: Infobox town | sandbox
| Template:Template sandbox notice}}{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq: | sysop
| Template:Pp-template | {{#if: | Template:Pp-template | }} }}
| other | #default =
}}|
| #if:
|
|
{{
#if: {{#ifexist:
{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Infobox town | sandbox | testcases = Infobox town | #default = Infobox town }}/doc
}} | yes }} | [[{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Infobox town | sandbox | testcases = Infobox town | #default = Infobox town }}/doc
}}|action=edit}} edit]] | [[{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Infobox town | sandbox | testcases = Infobox town | #default = Infobox town }}/doc
}}| action=edit&preload={{
#if:
|
| {{#ifeq: Template | File
| Template:Documentation/preload-filespace
| Template:Documentation/preload
}} }} }} create]]
}}
}} {{#switch: ¬
| ¬ =
{{#switch: Template
| File = Summary
| #default = Documentation
}}
| #default =
¬
}}}} {{#switch: {{#if:|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:{{#switch: Template
| | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Infobox town | sandbox | testcases = Infobox town | #default = Infobox town }}/doc|1|0}} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = | 0110 | 0111 = {{ {{{1}}} }} | 0001 | 0011 = {{ {{#switch: Template
| | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Infobox town | sandbox | testcases = Infobox town | #default = Infobox town }}/doc }} | 0000 | 0100 | 0010 | 0101 = }}
{{#ifeq: | off | | {{#ifexist: {{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Infobox town | sandbox | testcases = Infobox town | #default = Infobox town }}/doc
}} | yes }}{{ #switch: Template | User | Template = yes }} }}|
{{#if:
| | {{#if: {{#ifexist: {{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Infobox town | sandbox | testcases = Infobox town | #default = Infobox town }}/doc }} | yes }} | The above documentation is transcluded from [[{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Infobox town | sandbox | testcases = Infobox town | #default = Infobox town }}/doc }}]]. ([{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Infobox town | sandbox | testcases = Infobox town | #default = Infobox town }}/doc }}|action=edit}} edit])}} |
{{#if:
| {{{imageright}}} |
| | warning | editnotice | system =
| #default =}} }}{{#if:
{{#switch: Infobox town | doc | testcases = strange }}
| [[Category:Wikipedia pages with strange ((documentation)) usage|Template:Main otherTemplate:Infobox town]]
}}