Template:Infobox passage/doc

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
(New)
(notes)
 
(2 intermediate revisions not shown)
Line 2: Line 2:
| map=World.jpg
| map=World.jpg
| mapwidth=450px
| mapwidth=450px
-
| notes=
+
| label=World Map
 +
| notes={{Blue|Route 1}}<br/>{{Red|Route 2}}
}}
}}
-
This template was designed to create an ''infobox'' that is specific to an article about a [[Template:Country|country]] or an [[Template:Island Country|island country]]:
+
This template was designed to create an ''infobox'' that is specific to an article about a [[Template:Passage|Passage]]:
<pre><nowiki>{{infobox passage
<pre><nowiki>{{infobox passage
| map=
| map=
| mapwidth=
| mapwidth=
 +
| label=
| notes=
| notes=
}}</nowiki></pre>
}}</nowiki></pre>
-
 
-
{{red|NB}}: Some care should be taken with filling in coordinate parameters here. Mind a vertical bar "|" at the end of coordinate parameters group for each entrance.
 
Line 19: Line 19:
| map= World.jpg
| map= World.jpg
| mapwidth= 450px
| mapwidth= 450px
-
| notes= Routes
+
| label=World Map
 +
| notes={{Blue|Route 1}}<br/>{{Red|Route 2}}
}}</nowiki></pre>
}}</nowiki></pre>

Latest revision as of 16:58, 21 January 2016

Infobox passage/doc
World.jpg
Magnify-clip.png
World Map
Route 1
Route 2

This template was designed to create an infobox that is specific to an article about a Passage:

{{infobox passage
| map=
| mapwidth=
| label=
| notes=
}}


Example:

{{infobox passage
| map= World.jpg
| mapwidth= 450px
| label=World Map
| notes={{Blue|Route 1}}<br/>{{Red|Route 2}}
}}

This expands to a table shown at the beginning of this section. As with the previous example the title of table is automatically created from this page title hence it renders here to something that is not quite useful.

Personal tools
advertisement
Friends of Cruisers Wiki