Template:Infobox passage/doc

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
(New)
Line 2: Line 2:
| map=World.jpg
| map=World.jpg
| mapwidth=450px
| mapwidth=450px
-
| notes=
+
| note={{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=
Line 11: Line 11:
| 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 17:
| map= World.jpg
| map= World.jpg
| mapwidth= 450px
| mapwidth= 450px
-
| notes= Routes
+
| note={{Blue|Route 1}}<br/>{{Red|Route 2}}
}}</nowiki></pre>
}}</nowiki></pre>

Revision as of 15:29, 3 April 2015

Infobox passage/doc
World.jpg
Magnify-clip.png
More notes about the routes

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

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


Example:

{{infobox passage
| map= World.jpg
| mapwidth= 450px
| note={{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