Template:LocationInfobox: Difference between revisions

From Median-XL
(test1)
No edit summary
 
(61 intermediate revisions by 2 users not shown)
Line 9: Line 9:
|-
|-
{{#if: {{{image|}}} |
{{#if: {{{image|}}} |
{{!}} class="infobox-image" colspan="2" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px|{{{imagecaption|}}}]]
{{!}} class="infobox-image" colspan="2" {{!}} {{{image}}}
| }}
| }}


Line 18: Line 18:


|-  
|-  
! colspan="2" | <div class="infobox-section-header">Some attributes</div>
! colspan="2" | <div class="infobox-section-header">Location</div>


|-
|-
! Location
{{#if: {{{region|}}} |
| {{{first|''Unknown''}}}
! Region
{{!}} {{{region}}}
| }}
 
|-
! Act
| {{{act|''Unknown''}}}
 
|-
! Waypoint
| {{{waypoint|''Unknown''}}}
 
|-
! colspan="2" | <div class="infobox-section-header">People</div>
 
|-
{{#if: {{{quest givers|}}} |
! Quest Givers
{{!}} {{{quest givers}}}
| }}
 
|-
{{#if: {{{merchants|}}} |
! Merchants
{{!}} {{{merchants}}}
| }}
 
|-
{{#if: {{{other npcs|}}} |
! Other NPCs
{{!}} {{{other npcs}}}
| }}
 
|-
! colspan="2" | <div class="infobox-section-header">Monsters</div>
|-
{{#if: {{{regulars|}}} |
! Regulars
{{!}} {{{regulars}}}
| }}
|-
{{#if: {{{elites|}}} |
! Elites
{{!}} {{{elites}}}
| }}
|-
{{#if: {{{nightmare|}}} |
! Nightmare Regulars
{{!}} {{{nightmare}}}
| }}
|-
{{#if: {{{hell|}}} |
! Nightmare Elites
{{!}} {{{hell}}}
| }}
|-
{{#if: {{{guests|}}} |
! Guests
{{!}} {{{guests}}}
| }}
|-
{{#if: {{{guestelites|}}} |
! Guest Elites
{{!}} {{{guestelites}}}
| }}
|-
{{#if: {{{uberregulars|}}} |
! Uber Regulars
{{!}} {{{uberregulars}}}
| }}
 
|-
{{#if: {{{superuniques|}}} |
! Super Uniques
{{!}} {{{superuniques}}}
| }}
 
|-
{{#if: {{{bosses|}}} |
! Bosses
{{!}} {{{bosses}}}
| }}
 
|-
! colspan="2" | <div class="infobox-section-header">Connections</div>


|-
|-
! Second
{{#if: {{{town|}}} |
| {{{second|''Unknown''}}}
! Town
{{!}} {{{town}}}
| }}


|-
|-
! Third
{{#if: {{{adjacent zones|}}} |
| {{{third|''Unknown''}}}
! Adjacent Zones
{{!}} {{{adjacent zones}}}
| }}


|-
|-
! colspan="2" | <div class="infobox-section-header">Other attributes</div>
{{#if: {{{quests|}}} |
! Quests
{{!}} {{{quests}}}
| }}


|-
|-
{{#if: {{{fourth|}}} |
! colspan="2" | <div class="infobox-section-header">Area Level</div>
! Fourth
 
{{!}} {{{fourth}}}
|-
{{#if: {{{hatred|}}} |
! Normal
{{!}} {{{hatred}}}
| }}
| }}


|-
|-
{{#if: {{{fifth|}}} |
{{#if: {{{terror|}}} |
! Fifth
! Nightmare
{{!}} {{{fifth}}}
{{!}} {{{terror}}}
| }}
| }}


|-
|-
{{#if: {{{sixth|}}} |
{{#if: {{{destruction|}}} |
! Sixth
! Hell
{{!}} {{{sixth}}}
{{!}} {{{destruction}}}
| }}
 
|-
{{#if: {{{area map|}}} |
{{!}} class="infobox-image" colspan="2" width="256" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{area map}}}|maxsize=256px}}
| }}
 
 
|-
{{#if: {{{map desc|}}} |
{{!}} class="infobox-caption" colspan="2" {{!}} {{{map desc}}}
| }}
| }}


Line 58: Line 163:


|}
|}
{{infobox
|title={{PAGENAME}}
|image=
|header1=Location
    <group>
    <header>Location</header>
    <data source="act"><label>act</label></data>
        <data source="region"><label>region</label></data>
            <data source="waypoint"><label>waypoint</label></data>
    </group>
    <group>
    <header>People</header>
            <data source="quest givers"><label>quest givers</label></data>
    <data source="merchants"><label>merchants</label></data>
            <data source="other npcs"><label>other npcs</label></data>
    </group>
    <group>
    <header>Monsters</header>
    <data source="regulars"><label>regulars</label></data>
    <data source="nightmare"><label>nightmare regulars</label></data>
    <data source="elites"><label>elites</label></data>
    <data source="hell"><label>nightmare elites</label></data>
    <data source="guests"><label>guests</label></data>
    <data source="guestelites"><label>guest elites</label></data>
    <data source="veterans"><label>veterans</label></data>
    <data source="uberregulars"><label>uber regulars</label></data>
            <data source="superuniques"><label>super uniques</label></data>
            <data source="bosses"><label>bosses</label></data>
    </group>
    <group>
    <header>Connections</header>
            <data source="town"><label>town</label>l</data>
            <data source="adjacent zones"><label>adjacent zones</label></data>
    </group>
    <group>
    <header>Other</header>
        <data source="quests"><label>quests</label></data>
    </group>
    <group>
    <header>Area Level</header>
        <data source="hatred"><label>normal</label></data>
        <data source="terror"><label>nightmare</label></data>
        <data source="destruction"><label>hell</label></data>
    </group>
    <group>
    <header>Map</header>
        <image source="area map">
          <caption source="map desc"/>
        </image>
    </group>
}}
</onlyinclude>
</onlyinclude>
<noinclude>
<noinclude>

Latest revision as of 22:36, 23 June 2024


Unknown
Location
Act Unknown
Waypoint Unknown
People
Monsters
Connections
Area Level


Usage & preview

Town:

{{LocationInfobox
|title = {{PAGENAME}}
|image =
|image desc =
|act =
|region =
|waypoint =
|quest givers =
|merchants =
|other npcs =
|adjacent zones =
|quests =

}}

Hostile Zone:

{{LocationInfobox
|title = {{PAGENAME}}
|image =
|image desc =
|act =
|region =
|waypoint =
|regulars =
|nightmare =
|elites =
|veterans =
|uberregulars =
|superuniques =
|bosses =
|town =
|adjacent zones =
|quests =
|hatred =
|terror =
|destruction =
|area map =
|map desc =
}}