Template:Map infobox: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (New page: <includeonly>Category:Ranik Maps</includeonly>{| class="wikitable" style="width: 25em; text-align: left;align:right; font-size: 95%;" |- | colspan="2" style="font-size: large; text-ali...)
 
(Undo revision 589625 by LCAMP3 (talk))
 
(48 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Ranik Maps]]</includeonly>{| class="wikitable" style="width: 25em; text-align: left;align:right; font-size: 95%;"
<includeonly>[[Category:Ranik Maps]][[page type is::map| ]]
{|
|
{| class="wikitable" style="{{ #if: {{{relatedmaps|}}} | width: 50em; | width: 30em; }} text-align: left;align:right; font-size: 95%;"
|-
|-
| colspan="2" style="font-size: large; text-align:center;" | '''{{PAGENAME}}'''
| {{ #if: {{{relatedmaps|}}} | colspan="3" | colspan="2" }} style="font-size: large; text-align:center;" | '''{{PAGENAME}}'''
|-
|-
| colspan="2" style="text-align:center;" | {{{description}}}<br>{{{province}}} Province
| {{ #if: {{{relatedmaps|}}} | colspan="3" | colspan="2" }} style="text-align:center;" | {{{description}}}<br>[[found in::{{{province}}}]] {{#switch: {{{province}}} | Extra-Provincial = Area | Province }}
|-
|-
! width="30%"|Notable People:
!{{ #if: {{{relatedmaps|}}} | width="20%" | width="40%" }} | Notable People:
|{{ #if: {{{relatedmaps|}}} | width="40%" | width="60%" }} | {{#ifeq: {{#ask: [[page type is::npc]] [[Found on map::{{PAGENAME}}]]|format=count}}| 0 | ''none'' | {{#ask: [[page type is::npc]] [[Found on map::{{PAGENAME}}]]|format=ul}} }}
| {{{people|''none''}}}
{{ #if: {{{relatedmaps|}}} |
! width="40%"{{!}}Nearby Unlinked Maps: }}
|-
|-
! Landmarks:
! Landmarks:
| {{#if: {{{landmarks|}}}{{#ask: [[page type is::place]] [[Found on map::{{PAGENAME}}]]|default=}} | {{#if:{{{landmarks|}}}|{{{landmarks}}}}}
| {{{landmarks|''none''}}}
{{#ask: [[page type is::place]] [[Found on map::{{PAGENAME}}]]|format=ul}} | ''none'' }}
{{ #if: {{{relatedmaps|}}} |
{{!}} rowspan="3" valign="top"{{!}}
{{{relatedmaps}}}
}}
|-
|-
! [[:Category:Bestiary|Creatures]]:
| {{{creatures|''none''}}}
|-
! [[:Category:Shops|Shops]]:
! [[:Category:Shops|Shops]]:
|
| {{{shops|''none''}}}
{{#ifeq: {{#ask: [[page type is::store]] [[Found on map::{{PAGENAME}}]]|format=count}}| 0 | ''none'' | {{#ask: [[page type is::store]] [[Found on map::{{PAGENAME}}]]|format=ul}} }}
|-
|-
! [[:Category:Bestiary|Creatures (level)]]:
| colspan="2" style="text-align: center;font-size: smaller;" | [[Ranik Maps|Return to map index]]
| {{#ifeq: {{#ask: [[page type is::bestiary]] [[Found on map::{{PAGENAME}}]]|format=count}}| 0 | ''none'' | {{#ask: [[page type is::bestiary]] [[Found on map::{{PAGENAME}}]]||?Overall relative creature level is=|format=ul}} }}
|-
| {{ #if: {{{relatedmaps|}}} | colspan="3" | colspan="2" }} style="text-align: center;font-size: smaller;" | [[Ranik Maps|Return to map index]]
|}
| valign=top | {{RanikMapKey}}
|}
|}
</includeonly>
<noinclude>
<noinclude>
==Usage==
==Usage==


<pre>
{{Map infobox
{{Map infobox
|description=
|province=
|province=
|people=
|landmarks=
|creatures=
|creatures=
|shops=
|shops=
|landmarks=
|people=
|relatedmaps=
}}
}}
</pre>

[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 23:22, 16 June 2022


Usage

{{Map infobox
|description=
|province=  
|creatures=
|shops= 
|landmarks=
|people=
|relatedmaps=
}}