Template:Infobox place: Difference between revisions

(+{{doc}} +includeonly)
(parentheses look awkward)
 
Line 9: Line 9:
{{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|}}}|}}
{{#if: {{{locations|}}}|
{{pipe}}-
!style="text-align:right;"{{pipe}}Locations:
{{pipe}}{{{locations|}}}|}}
|}</includeonly><noinclude>{{doc}}[[Category:Infobox Templates]]</noinclude>
|}</includeonly><noinclude>{{doc}}[[Category:Infobox Templates]]</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
}}