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 place"

From Kiwiki
Jump to: navigation, search
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|  cellspacing="0" cellpadding="0" align="right" style="width:20%; border:1px #000000 solid; background:#FAF0E6; text-align:center;"  
+
{|  cellspacing="0" cellpadding="0" align="right" style="width:300px; border:1px #000000 solid; background:#FAF0E6; text-align:center; margin:10px;"  
|<b>{{{Place name|{{{Place_name|}}}}}}</b>
+
!<b>{{{Place name|{{{Place_name|}}}}}}</b>
 
|-
 
|-
 
|{{Infobox
 
|{{Infobox
Line 8: Line 8:
  
 
| imageclass  = {{Image class names|{{{Img|{{{image|}}}}}}}}
 
| imageclass  = {{Image class names|{{{Img|{{{image|}}}}}}}}
| image      = {{#if:{{{Img|{{{image|}}}}}}|[[File:{{{Img|{{{image|}}}}}}|{{px|{{#ifeq:{{lc:{{{Landscape|{{{landscape|}}}}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{Img_size|{{{image_size}}}}}}}}|300|{{{Img_size|{{{image_size}}}}}}}}}}x200px}}|{{{Img_size|{{{image_size|}}}}}}|frameless}}|alt={{{Img_alt|{{{alt|}}}}}}|{{{Img_capt|{{{caption|}}}}}}]]}}
+
| image      = {{#if:{{{Img|{{{image|}}}}}}|[[File:{{{Img|{{{image|}}}}}}|{{px|{{#ifeq:{{lc:{{{Landscape|{{{landscape|}}}}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{Img_size|{{{image_size}}}}}}}}|300|{{{Img_size|{{{image_size}}}}}}}}}}x250px}}|{{{Img_size|{{{image_size|}}}}}}|frameless}}|alt={{{Img_alt|{{{alt|}}}}}}|{{{Img_capt|{{{caption|}}}}}}]]}}
 
| caption    = {{{Img_capt|{{{caption|}}}}}}
 
| caption    = {{{Img_capt|{{{caption|}}}}}}
  
Line 22: Line 22:
 
| data4      = {{{Abandoned date|{{{Abandoned_date|}}}}}}
 
| data4      = {{{Abandoned date|{{{Abandoned_date|}}}}}}
  
| label5      = owner(s)
+
| label5      = {{#if: {{{Current owner 2|{{{Current_owner_2|}}}}}} | Owners | Owner }}
 
| data5      = {{br separated entries|1={{{Current owner 1|{{{Current_owner_1|}}}}}}|2={{{Current owner 2|{{{Current_owner_2|}}}}}}|3={{{Current owner 3|{{{Current_owner_3|}}}}}}}}
 
| data5      = {{br separated entries|1={{{Current owner 1|{{{Current_owner_1|}}}}}}|2={{{Current owner 2|{{{Current_owner_2|}}}}}}|3={{{Current owner 3|{{{Current_owner_3|}}}}}}}}
  
| label5     = Former owner(s)
+
| label6     = Former {{#if: {{{Previous owner 2|{{{Previous_owner_2|}}}}}} | Owners | Owner }}
| data5       = {{br separated entries|1={{{Previous owner 1|{{{Previous_owner_1|}}}}}}|2={{{Previous owner 2|{{{Previous_owner_2|}}}}}}|3={{{Previous owner 3|{{{Previous_owner_3|}}}}}}|4={{{Previous owner 4|{{{Previous_owner_4|}}}}}}}}
+
| data6       = {{br separated entries|1={{{Previous owner 1|{{{Previous_owner_1|}}}}}}|2={{{Previous owner 2|{{{Previous_owner_2|}}}}}}|3={{{Previous owner 3|{{{Previous_owner_3|}}}}}}|4={{{Previous owner 4|{{{Previous_owner_4|}}}}}}}}
  
| below      = {{#if:{{{footnotes|}}}|'''Notes'''<div style="line-height:1.2em;">{{{footnotes}}}</div>}}
+
| below      = {{#if: {{{footnotes|}}}|'''Notes'''<div style="line-height:1.2em;">{{{footnotes}}}</div>}}
 
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
 
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
  
}}{{#switch:{{ucfirst:{{{image|}}}}}
+
}}
|Replace this image male.svg
+
|}
|Replace_this_image_male.svg
 
|Replace this image female.svg
 
|Replace_this_image_female.svg=[[Category:Infobox person using placeholder image]]
 
}}<!--
 
  
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<!--
+
<noinclude> {{documentation}} </noinclude>
 
 
-->{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Infobox person using numbered parameter]]}}}}<!--
 
-->{{#if:{{{box_width|}}}|[[Category:Infobox user using boxwidth parameter]]}}<!--
 
-->{{#if:{{{death_date|}}}{{{death_place|}}}|{{#if:{{{salary|}}}{{{net worth|{{{net_worth|{{{networth|}}}}}}}}}|[[Category:Infobox user using certain parameters when dead]]}}}}<!--
 
 
 
-->}}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--
 
 
 
--><includeonly>{{ns0|{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}[[Category:Articles with hCards]]}}</includeonly>
 
|}
 
<noinclude>{{documentation}}</noinclude>
 

Latest revision as of 00:38, 4 May 2012

}}{{#if:|}}

}}{{#ifeq:{{{embed}}}|yes|{{#if:|{{{title}}}}}}}{{#if:|{{#if:

{{#if: }} }} }}{{#if:|{{#if: {{#if: }} }} }}{{#if:{{#if:|[[File:|{{safesubst:#if:{{#ifeq:|yes|Template:Minx250px}} {{#if: }} }} }}{{#if:|{{#if: {{#if: }} }} }}{{#if:{{#if:|Place info}} {{#if: }} }}{{#if: {{#if:Place name }} }}{{#if: {{#if:Created }} }}{{#if: {{#if:Abandoned }} }}{{#if: }} }}{{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if: {{#if: }} }}{{#if:{{#if: |Notes
{{{footnotes}}}
}}|}}{{#if:|}} {{#ifeq:{{{embed}}}|yes||
yes
{{{title}}}
{{{above}}}
{{{header}}}
{{#if:
{{{label}}}
 }}
{{{header}}}
{{#if:{{{subheader2}}}
{{{label}}}
 }}
{{{subheader2}}}
yes|Template:Minx250px}}{{safesubst:#iferror:{{safesubst:#expr:{{#ifeq:|yes|Template:Minx250px}}>0}} px}} {{safesubst:#if: {{safesubst:#iferror:{{safesubst:#expr:>0}} px}} frameless{{safesubst:#iferror:{{safesubst:#expr:frameless>0}} px}}
}}

}}|alt=|]]}}|{{#if:

[[File:|{{safesubst:#if:{{#ifeq:|yes|Template:Minx250px}} yes|Template:Minx250px}}{{safesubst:#iferror:{{safesubst:#expr:{{#ifeq:|yes|Template:Minx250px}}>0}} px}} {{safesubst:#if: {{safesubst:#iferror:{{safesubst:#expr:>0}} px}} frameless{{safesubst:#iferror:{{safesubst:#expr:frameless>0}} px}}
}}

}}|alt=|]]}}{{#if:|
}}

{{{label}}} yes|Template:Minx250px}}{{safesubst:#iferror:{{safesubst:#expr:{{#ifeq:|yes|Template:Minx250px}}>0}} px}} {{safesubst:#if: {{safesubst:#iferror:{{safesubst:#expr:>0}} px}} frameless{{safesubst:#iferror:{{safesubst:#expr:frameless>0}} px}}
}}
}}|alt=|]]}}{{#if:|
}}

{{{caption2}}}}}
{{{label}}}
Place info}}
{{#if:
 }}
{{#if:
Place name
 }}
{{#if:
Created
 }}
{{#if:
Abandoned
 }}
{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}
Owners | Owner }} Owners | Owner }}
 }}
{{safesubst:#if:|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}
{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}
Owners | Owner }} Owners | Owner }}
 }}
{{safesubst:#if:|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if:
 }}
{{#if: |Notes
{{{footnotes}}}
}}
Template:Navbar
}}{{#switch:¬ no = force|yes = Template:Italic title

}}{{#ifeq:|yes||{{#if:{{safesubst:#if:|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}||{{#switch:

 {{#if: 
{{{demospace}}} {{#if:
       {{#ifeq:|
talk
       }}
       {{#ifeq:template|template talk
talk template
       }}
     }}
   }}
main = talk = user = wikipedia = file image = mediawiki = template = help = category = portal = book = other #default =

}}}}}}

{{#ifeq: Infobox place | 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 =

}}
{{#ifeq: ¬ |

|

|
{{
 #if: 
 | 
 | 
   {{
   #if: {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Infobox place | sandbox | testcases = Infobox place | #default = Infobox place }}/doc

   }}
 | yes
 }}
   | [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Infobox place | sandbox | testcases = Infobox place | #default = Infobox place }}/doc

 }}|action=edit}} edit]] 
   | 
     [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Infobox place | sandbox | testcases = Infobox place | #default = Infobox place }}/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 place | sandbox | testcases = Infobox place | #default = Infobox place }}/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 place | sandbox | testcases = Infobox place | #default = Infobox place }}/doc }} | 0000 | 0100 | 0010 | 0101 = }}

{{#if:
 {{#ifeq:  | off
 |
 | {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template

}}:{{#switch: Infobox place | sandbox | testcases = Infobox place | #default = Infobox place }}/doc

   }}
 | yes
 }}{{
   #switch: Template
   | User
   | Template = yes
   }}
 }}
| {{#if: |

}}

{{#switch:

| | warning | editnotice | system =

| #default =
This message box is using an invalid "type=" parameter and needs fixing.
[[Category:Wikipedia message box parameter needs fixing|Template:Main otherTemplate:Infobox place]]

}} }}{{#if:

 {{#switch: Infobox place
 | doc
 | testcases = strange
 }}

| [[Category:Wikipedia pages with strange ((documentation)) usage|Template:Main otherTemplate:Infobox place]]

}}