Template:Infobox Map: Difference between revisions

From Jedi Knight Wiki | JKHub
(centered, escaped pipe)
(Added docu)
Line 1: Line 1:
{{#if:{{{name|}}
<includeonly>{{#if:{{{name|}}
|<table class="infobox" style="border-spacing: 3px; width: 22em;">
|<table class="infobox" style="border-spacing: 3px; width: 22em;">
   <!-- name (mandatory) -->
   <!-- name (mandatory) -->
Line 19: Line 19:
   }}
   }}
  </table>
  </table>
}}</includeonly><noinclude>
<!-- Documentation -->
The Infobox for Maps is a simple way of summarizing information on a map.
= Syntax =
<nowiki>
{{Infobox Map
| name = Dude's cool map
| author = Dude
| image = dudes_cool_map.jpg
| image_caption = Look at Dude's cool map!
}}
}}
</nowiki>
Only the name parameter is mandatory but if that's the only one you probably don't want an Infobox, just a heading.
<noinclude>

Revision as of 17:26, 3 December 2013


The Infobox for Maps is a simple way of summarizing information on a map.

Syntax

{{Infobox Map
| name = Dude's cool map
| author = Dude
| image = dudes_cool_map.jpg
| image_caption = Look at Dude's cool map!
}}

Only the name parameter is mandatory but if that's the only one you probably don't want an Infobox, just a heading.