Template:Location/Road: Difference between revisions
Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="row1">..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<infobox> | <infobox theme-source="variant"> | ||
< | <image source="image"> | ||
< | <caption source="caption" /> | ||
<format>{{{caption}}}{{#ifexist:Category:Images of {{{name|{{PAGENAME}}}}}|<br />'''[[:Category:Images of {{{name|{{PAGENAME}}}}}|Gallery]]'''}}</format> | |||
</image> | |||
<title source="name"> | |||
<default>Enter Name Here</default> | |||
</title> | </title> | ||
< | <group> | ||
< | <header>{{#if:{{{type|}}}|{{{type}}}|Road}}{{{refs|}}}</header> | ||
<data source="aliases"><label>Aliases</label></data> | |||
<data source="length"><label>Length</label></data> | |||
<label> | <data source="width"><label>Width</label></data> | ||
<data source="pavement"><label>Pavement</label></data> | |||
<data source="location"><label>Location</label></data> | |||
<label> | <data source="starts"><label>Origin</label></data> | ||
</data> | <data source="ends"><label>Destination</label></data> | ||
</ | <data source="built"><label>Constructed</label></data> | ||
< | </group> | ||
<group> | |||
{{ | <header>Volo's Rating</header> | ||
| | <data source="daggers"> | ||
| | <label>Dangerousness</label> | ||
| | <format>[[File:{{{daggers}}}dagger{{#ifeq:{{{daggers}}}|1||s}}.jpg{{!}}right{{!}}link=Volo's rating system]]</format> | ||
| | </data> | ||
| | </group> | ||
}} | <navigation>{{#if:{{{inhabitants|}}}|[[:Category:Inhabitants of {{ #if: {{{usethe|}}} | the }} {{{name|{{PAGENAME}}}}}|Inhabitants of {{ #if: {{{usethe|}}} | the }} {{{name|{{PAGENAME}}}}}]]}}</navigation> | ||
</ | <navigation>{{#if:{{{locations|}}}|[[:Category:Locations on {{ #if: {{{usethe|}}} | the }} {{{name|{{PAGENAME}}}}}|Locations on {{ #if: {{{usethe|}}} | the }} {{{name|{{PAGENAME}}}}}]]}}</navigation> | ||
<navigation>{{#if:{{{settlements|}}}|[{{fullurl:{{#replace:Template:Category intersection| |_}}|{{#replace:cat1=Locations on {{ #if: {{{usethe|}}} | the }} {{{name|{{PAGENAME}}}}}&cat2=Settlements&action=purge| |_}}}} Settlements on {{ #if: {{{usethe|}}} | the }} {{{name|{{PAGENAME}}}}}]}}</navigation> | |||
<navigation>{{#if:{{{roads|}}}|[{{fullurl:{{#replace:Template:Category intersection| |_}}|{{#replace:cat1=Locations on {{ #if: {{{usethe|}}} | the }} {{{name|{{PAGENAME}}}}}&cat2=Roads&action=purge| |_}}}} Roads crossing {{ #if: {{{usethe|}}} | the }} {{{name|{{PAGENAME}}}}}] }}</navigation> | |||
<navigation>{{#if:{{{events|}}}|[[:Category:Events on {{ #if: {{{usethe|}}} | the }} {{{name|{{PAGENAME}}}}}|Events on {{ #if: {{{usethe|}}} | the }} {{{name|{{PAGENAME}}}}}]] }}</navigation> | |||
</infobox><includeonly>{{#ifeq:{{lc:{{{nocat|false}}}}}|true|<!-- Categories suppressed -->| | |||
[[Category:Roads]]{{#if:{{{daggers|}}}|[[Category:Rated {{{daggers}}} dagger{{#ifeq:{{{daggers}}}|1||s}} by Volo]]}}}}</includeonly><noinclude>{{documentation}} | |||
[[Category:Infoboxes|Road]] | |||
</noinclude> | </noinclude> | ||
Revision as of 07:47, 2 November 2018
<infobox theme-source="variant">
<image source="image">
<format>{{{caption}}}</format> </image> <title source="name"> <default>Enter Name Here</default> </title> <group> <header>Road</header> <label>Aliases</label> <label>Length</label> <label>Width</label> <label>Pavement</label> <label>Location</label> <label>Origin</label> <label>Destination</label> <label>Constructed</label> </group> <group> <header>Volo's Rating</header> <label>Dangerousness</label> <format>[[File:{{{daggers}}}daggers.jpg|right|link=Volo's rating system]]</format> </group> <navigation></navigation> <navigation></navigation> <navigation></navigation> <navigation></navigation> <navigation></navigation> </infobox>
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| View • Edit • History |
- This template is not yet documented. Please create documentation here: Template:Location/Road/doc