Jump to navigation Jump to search

Template:City: Difference between revisions

(Created page with "<div class="infobox-city"> <div class="infobox-city-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-city-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} <table class="infobox-city-table">{{#if:{{{param1|}}}|<tr> <th>Parameter 1</th> <td>{{{param1}}}</td> </tr>}}{{#if:{{{param2|}}}|<tr> <th>Parameter 2</th> <td>{{{param2}}}</td> </tr>}}{{#if:{{{param3|}}}|<tr> <th>Parameter 3</th> <td>{{{param3}}}</td> </tr>}}{{#...")
 
No edit summary
 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox-city">
<includeonly>{{Infobox
<div class="infobox-city-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
| ibname    = {{{name|}}}
<div class="infobox-city-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
| ibnamenote = {{{namenote|}}}
<table class="infobox-city-table">{{#if:{{{param1|}}}|<tr>
| ibtype    = {{{ibtype|City}}}
     <th>Parameter 1</th>
| traits    = {{{traits|}}}
     <td>{{{param1}}}</td>
| image      = {{{image|}}}
</tr>}}{{#if:{{{param2|}}}|<tr>
| bgcolor    = #363
     <th>Parameter 2</th>
| fgcolor    = white
    <td>{{{param2}}}</td>
 
</tr>}}{{#if:{{{param3|}}}|<tr>
| paramname1 = Titles
     <th>Parameter 3</th>
| param1    = {{{titles|Unknown}}}
    <td>{{{param3}}}</td>
 
</tr>}}{{#if:{{{param4|}}}|<tr>
| paramname2 = Plane
     <th>Parameter 4</th>
| param2    = {{{plane|Material Plane}}}
    <td>{{{param4}}}</td>
 
</tr>}}{{#if:{{{param5|}}}|<tr>
| paramname3 = World
    <th>Parameter 5</th>
| param3    = {{{world|Thrakdrak}}}
    <td>{{{param5}}}</td>
 
</tr>}}</table>
| paramname4 = Nation
</div>
| param4    = {{{nation|}}}
<noinclude>
 
<templatedata>
| paramname5 = Region
{
| param5    = {{{region|Dagrae}}}
"params": {
 
"title": {},
| paramname6 = Level
"image": {},
| param6    = {{{level|Unknown}}}
"name": {},
 
"titles": {},
| paramname7 = Size
"plane": {},
| param7     = {{{size|Unkown}}}
"world": {},
 
"nation": {},
| paramname8 = Population
"region": {},
| param8     = {{{population|Unknown}}}
"size": {},
 
"population": {},
| paramname9 = Demographics
"demographics": {},
| param9    = {{{demographics|Unknown}}}
"government": {
 
"type": "wiki-page-name"
| paramname10 = Government
},
| param10    = {{{government|Unknown}}}
"capital": {},
 
"alignment": {},
| paramname11 = Alignment
"ruler": {},
| param11     = {{{alignmentUnknown|}}}
"leader": {},
 
"latlong": {},
| paramname12 = Demonym
"regionmap": {},
| param12    = {{{natives|Unknown}}}
"imagesof": {},
 
"source": {},
| paramname13 = Adjective
"page": {}
| param13     = {{{adjective|Unknown}}}
},
 
"paramOrder": [
| paramname14 = Ruler
"title",
| param14    = {{{ruler|}}}
"image",
 
"name",
| paramname15 = Leader
"titles",
| param15     = {{{leader|}}}
"plane",
 
"world",
| paramname16 = regionmap
"nation",
| param16    = {{{regionmap|{{#if:{{{latlong|}}}|{{DisplayMap|latlong=
"region",
{{{latlong}}}}}}}}}}
"size",
}}
"population",
</includeonly><noinclude>
"demographics",
{{Documentation}}
"government",
[[Category:Infoboxes|City]]
"capital",
 
"alignment",
| page        = {{#if:{{{1e-source|}}}||{{{page|}}}}}
"ruler",
}}{{2eTrait/AutoCategories|settlements|{{{traits|}}}}}
"leader",
"latlong",
"regionmap",
"imagesof",
"source",
"page"
]
}
</templatedata>
regionmap: <br>
regionmap: <br>
https://pathfinderwiki.com/wiki/Template:DisplayMap<br>
https://pathfinderwiki.com/wiki/Template:DisplayMap<br>
https://github.com/pf-wikis/mapping<br>
https://github.com/pf-wikis/mapping<br>
{{ Category: templates }}
</noinclude>
</noinclude>

Latest revision as of 22:11, 14 March 2023

Template documentation (for the above template, sometimes hidden or invisible)

Visit Template:City/doc to edit this text! (How does this work?)

| page = }} regionmap:
https://pathfinderwiki.com/wiki/Template:DisplayMap
https://github.com/pf-wikis/mapping