Template:Infobox place: Difference between revisions

No edit summary
(parentheses look awkward)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:22em; font-size:90%; text-align:left; border-color:#000000; background-color: #FFFFFF;" cellspacing="2"
<includeonly>{| class="infobox" style="width:22em; font-size:90%; text-align:left; border-color:#000000; background-color: #FFFFFF;" cellspacing="2"
{{pipe}}- style="margin:0;"
{{pipe}}- style="margin:0;"
!colspan="2" style="text-align: center;"{{pipe}}<small>BUSINESS</small><br /><span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}}}}}</span>
!colspan="2" style="text-align: center;"{{pipe}}<small>BUSINESS</small><br /><span class="fn" style="font-size:18px;">{{{name|{{PAGENAME}}}}}</span>
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{pipe}}-
{{pipe}}-
{{pipe}} colspan="2" align="center"{{pipe}}[[Image:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|200px}}|center]]{{#if:{{{caption|}}}|<div style="line-height:1.25em;">{{{caption}}}</div><br />|}}|
{{pipe}} colspan="2" align="center"{{pipe}}[[Image:{{{image}}}|{{#if:{{{size|}}}|{{{size|}}}|200px}}|center]]{{#if:{{{caption|}}}|<div style="line-height:1.25em;">{{{caption}}}</div>|}}|
{{pipe}}-
{{pipe}}-
}}
}}
{{pipe}}- valign="top"
{{pipe}}- valign="top"
!
!
{{#if: {{{game|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Appearance:
{{pipe}}{{{game|}}}|
{{pipe}}-
}}
{{#if: {{{games|}}}|
{{#if: {{{games|}}}|
{{pipe}}-
{{pipe}}-
!style="text-align:right;"{{pipe}}Appearance(s):
!style="text-align:right;"{{pipe}}Appearances:
{{pipe}}{{{games|}}}|
{{pipe}}{{{games|}}}|
{{pipe}}-
{{pipe}}-
Line 41: Line 47:
{{#if: {{{location|}}}|
{{#if: {{{location|}}}|
{{pipe}}-
{{pipe}}-
!style="text-align:right;"{{pipe}}Location(s):
!style="text-align:right;"{{pipe}}Location:
{{pipe}}{{{location|}}}|}}
{{pipe}}{{{location|}}}|}}
|}<noinclude>
{{#if: {{{locations|}}}|
The following code produces the fake infobox shown on the right:
{{pipe}}-
<pre>{{infobox places|
!style="text-align:right;"{{pipe}}Locations:
|image =
{{pipe}}{{{locations|}}}|}}
|games =
|}</includeonly><noinclude>{{doc}}[[Category:Infobox Templates]]</noinclude>
|name =  
|owner =
|tob =
|established =
|location =
}}</pre>
[[category:infoboxes]]
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 14:25, 6 October 2011

This documentation is imported from Template:Infobox place/doc

The following code produces the place infobox:

{{infobox place|
| image = Name of image file
| game = Appearance in a game
| games = Appearances in multiple games
| name = Proper name only if different from article name
| owner = Last known owner of the business
| tob = 
| established = 
| location = The location of the business
| locations = Multiple locations of the business
}}