Template:Location/Body of water: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
Kenneth the Sage (talk | contribs)
No edit summary
Kenneth the Sage (talk | contribs)
Infobox updated using the portable infobox migration tool
Line 1: Line 1:
<includeonly>{{Location
<infobox>
| variant        = water
<image source="image"/>
| image         = {{{image|}}}
<title source="name"><default>{{PAGENAME}}</default></title>
| caption        = {{{caption|}}}
<data source="aliases"><label>aliases</label></data>
| name           = {{{name}}<!-- Required -->
<data source="type"><label>type</label></data>
| aliases       = {{{aliases|}}}
<data source="area"><label>area</label></data>
| type           = {{{type|}}}
<data source="region"><label>region</label></data>
| area           = {{{area|}}}
<data source="size"><label>size</label></data>
| region         = {{{region|}}}
<data source="depth"><label>depth</label></data>
| size           = {{{size|}}}
<data source="river source"><label>river source</label></data>
| depth         = {{{depth|}}}
<data source="river mouth"><label>river mouth</label></data>
| river source   = {{{river source|}}}
<data source="tributaries"><label>tributaries</label></data>
| river mouth   = {{{river mouth|}}}
<data source="tributary of"><label>tributary of</label></data>
| tributaries   = {{{tributaries|}}}
<data source="georefs"><label>georefs</label></data>
| tributary of   = {{{tributary of|}}}
<data source="races"><label>races</label></data>
| georefs       = {{{georefs|}}}
<data source="socrefs"><label>socrefs</label></data>
| races         = {{{races|}}}
<data source="usethe"><label>usethe</label></data>
| socrefs       = {{{socrefs|}}}
<data source="useon"><label>useon</label></data>
| usethe         = {{{usethe|}}}
<data source="inhabitants"><label>inhabitants</label></data>
| useon         = {{{useon|}}}
<data source="locations"><label>locations</label></data>
| inhabitants   = {{{inhabitants|}}}
<data source="organizations"><label>organizations</label></data>
| locations     = {{{locations|}}}
<data source="settlements"><label>settlements</label></data>
| organizations = {{{organizations|}}}
<data source="mountains"><label>mountains</label></data>
| settlements   = {{{settlements|}}}
<data source="events"><label>events</label></data>
| mountains     = {{{mountains|}}}
<data source="food and drink"><label>food and drink</label></data>
| events         = {{{events|}}}
<data source="items"><label>items</label></data>
| food and drink = {{{food and drink|}}}
<data source="nocat"><label>nocat</label><default>false</default></data>
| items         = {{{items|}}}
</infobox>
| nocat          = {{{nocat|false}}}
<noinclude>
}}{{#ifeq:{{lc:{{{nocat|false}}}}}|true|<!-- Category suppressed -->|[[Category:Bodies of water]]{{#switch:{{lc:{{{type|}}}}}
== Usage & preview ==
| bay            = [[Category:Bays]]
Type in this:
| brook          = [[Category:Streams]]
| channel        = [[Category:Straits]]
| creek          = [[Category:Streams]]
| lake          = [[Category:Lakes]]
| lakes          = [[Category:Lakes]]
| ocean          = [[Category:Seas]]
| oasis          = [[Category:Oases]]
| oases          = [[Category:Oases]]
| pond          = [[Category:Ponds]]
| pool          = [[Category:Pools]]
| pools          = [[Category:Pools]]
| rapids        = [[Category:Rapids]]
| river          = [[Category:Rivers]]
| rivers        = [[Category:Rivers]]
| river system  = [[Category:Rivers]]
| run            = [[Category:Streams]]
| sea            = [[Category:Seas]]
| spring        = [[Category:Springs]]
| springs        = [[Category:Springs]]
| strait        = [[Category:Straits]]
| straits        = [[Category:Straits]]
| stream        = [[Category:Streams]]
| waterfall      = [[Category:Waterfalls]]
| waterfalls    = [[Category:Waterfalls]]
}} }}</includeonly><noinclude>This is a pass-through to the {{tl|Location}} template with <code>variant = water</code>. If any parameters are added to that template, they should be added here too.


{{documentation}}
<pre>
[[Category:Infoboxes|Body of water]]
{{Location/Body of water
|image=
|caption=
|name=
|aliases=
|type=
|area=
|region=
|size=
|depth=
|river source=
|river mouth=
|tributaries=
|tributary of=
|georefs=
|races=
|socrefs=
|usethe=
|useon=
|inhabitants=
|locations=
|organizations=
|settlements=
|mountains=
|events=
|food and drink=
|items=
|nocat=
}}
 
</pre>
 
to see this:
 
{{Location/Body of water
|image=This is a test
|caption=This is a test
|name=This is a test
|aliases=This is a test
|type=This is a test
|area=This is a test
|region=This is a test
|size=This is a test
|depth=This is a test
|river source=This is a test
|river mouth=This is a test
|tributaries=This is a test
|tributary of=This is a test
|georefs=This is a test
|races=This is a test
|socrefs=This is a test
|usethe=This is a test
|useon=This is a test
|inhabitants=This is a test
|locations=This is a test
|organizations=This is a test
|settlements=This is a test
|mountains=This is a test
|events=This is a test
|food and drink=This is a test
|items=This is a test
|nocat=This is a test
}}
 
 
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above]
</noinclude>
</noinclude>

Revision as of 06:13, 31 October 2018

<infobox> <image source="image"/> <title source="name"><default>Location/Body of water</default></title> <label>aliases</label> <label>type</label> <label>area</label> <label>region</label> <label>size</label> <label>depth</label> <label>river source</label> <label>river mouth</label> <label>tributaries</label> <label>tributary of</label> <label>georefs</label> <label>races</label> <label>socrefs</label> <label>usethe</label> <label>useon</label> <label>inhabitants</label> <label>locations</label> <label>organizations</label> <label>settlements</label> <label>mountains</label> <label>events</label> <label>food and drink</label> <label>items</label> <label>nocat</label><default>false</default> </infobox>

Usage & preview

Type in this:

{{Location/Body of water
|image=
|caption=
|name=
|aliases=
|type=
|area=
|region=
|size=
|depth=
|river source=
|river mouth=
|tributaries=
|tributary of=
|georefs=
|races=
|socrefs=
|usethe=
|useon=
|inhabitants=
|locations=
|organizations=
|settlements=
|mountains=
|events=
|food and drink=
|items=
|nocat=
}}

to see this:

<infobox> <image source="image"/> <title source="name"><default>Location/Body of water</default></title> <label>aliases</label> <label>type</label> <label>area</label> <label>region</label> <label>size</label> <label>depth</label> <label>river source</label> <label>river mouth</label> <label>tributaries</label> <label>tributary of</label> <label>georefs</label> <label>races</label> <label>socrefs</label> <label>usethe</label> <label>useon</label> <label>inhabitants</label> <label>locations</label> <label>organizations</label> <label>settlements</label> <label>mountains</label> <label>events</label> <label>food and drink</label> <label>items</label> <label>nocat</label><default>false</default> </infobox>


Click here to refresh the preview above