Template:Infobox Map: Difference between revisions

From Jedi Knight Wiki | JKHub
(Added docu)
(links)
Line 16: Line 16:
     <th scope="row">Author(s)</th>
     <th scope="row">Author(s)</th>
     <td>{{{author|}}}</td>
     <td>{{{author|}}}</td>
  </tr>
  }}
  <!-- link(s), if available -->
  {{#if:{{{link|}}}|
  <tr>
    <th scope="row">Link(s)</th>
    <td>{{{link|}}}</td>
   </tr>
   </tr>
   }}
   }}
Line 32: Line 40:
| image = dudes_cool_map.jpg
| image = dudes_cool_map.jpg
| image_caption = Look at Dude's cool map!
| image_caption = Look at Dude's cool map!
| link = [http://link.to/dudes/cool.map]
}}
}}
</nowiki>
</nowiki>


Only the name parameter is mandatory but if that's the only one you probably don't want an Infobox, just a heading.
Only the name parameter is mandatory but if that's the only one you probably don't want an Infobox, just a heading.
The link parameter is not post-processed to allow for multiple links.


<noinclude>
<noinclude>

Revision as of 17:39, 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!
| link = [http://link.to/dudes/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.

The link parameter is not post-processed to allow for multiple links.