Template:Infobox Location: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<th style=" padding:5px"><big>{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}</big> | <th style=" padding:5px"><big>{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}</big> | ||
<tr> | <tr> | ||
<th style="background-color:rgba(0,0,0,0); padding:10px">[[File:{{#if:{{{image|}}}|{{{image}}}| | <th style="background-color:rgba(0,0,0,0); padding:10px">[[File:{{#if:{{{image|}}}|{{{image}}}|Two Worlds Logo.png}}|300x300px|frameless]] | ||
<tr> | <tr> | ||
<td style="padding:5px; text-align:center">{{#if:{{{description|}}}|''{{{description|}}}''|''No description available.''}} | <td style="padding:5px; text-align:center">{{#if:{{{description|}}}|''{{{description|}}}''|''No description available.''}} | ||
{{#if:{{{Continent|}}} {{{Region|}}} {{{Kingdom|}}} {{{City | {{#if:{{{Continent|}}} {{{Region|}}} {{{Kingdom|}}} {{{City|}}}| | ||
<tr> | <tr> | ||
<td style="background-color:rgba(0,0,0,0)"> | <td style="background-color:rgba(0,0,0,0)"> | ||
Line 27: | Line 27: | ||
<th style="width:100px;">City | <th style="width:100px;">City | ||
<td style="padding-left:5px; ">{{Meta|{{{City|}}}}} | <td style="padding-left:5px; ">{{Meta|{{{City|}}}}} | ||
}} | }} | ||
</table> | </table> | ||
Line 40: | Line 36: | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{Infobox | {{Infobox Location | ||
| name | | name = | ||
| image | | image = | ||
| description | | description = | ||
| | | Continent = | ||
| Region = | |||
| | | Kingdom = | ||
| | | City = | ||
| | |||
}} | }} | ||
</pre> | </pre> | ||
==Example== | ==Example== | ||
{{Infobox Location | {{Infobox Location | ||
| name = | | name = Oswaroth | ||
| image = | | image = Two Worlds - Oswaroh.png | ||
| description = | | description = Oswaroth in Two Worlds. | ||
| Continent = | | Continent = Unnamed continent. | ||
| Region = | | Region = {{Lore|Ostenwald}} | ||
| Kingdom = | | Kingdom = {{Lore|Kingdom of Cathalon}} <sup>(Formerly)</sup> | ||
| City = | | City = Oswaroth | ||
}} | }} | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |