Template:Map infobox: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(revert)
(adding an NPC limit to prevent elongated infoboxes)
Line 9: Line 9:
|-
|-
!{{ #if: {{{relatedmaps|}}} | width="20%" | width="40%" }} | 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}} }}
|{{ #if: {{{relatedmaps|}}} | width="40%" | width="60%" }} | {{#ifeq: {{#ask: [[page type is::npc]] [[Found on map::{{PAGENAME}}]]|format=count|limit=5}}| 0 | ''none'' | {{#ask: [[page type is::npc]] [[Found on map::{{PAGENAME}}]]|format=ul}} }}
{{ #if: {{{relatedmaps|}}} |
{{ #if: {{{relatedmaps|}}} |
! width="40%"{{!}}Nearby Unlinked Maps: }}
! width="40%"{{!}}Nearby Unlinked Maps: }}

Revision as of 14:14, 5 September 2011


Usage

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