Template:LocationInfobox: Difference between revisions

From Median-XL
No edit summary
Tag: Reverted
No edit summary
 
(69 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
 
<infobox theme="median">
 
<title source="title"><default>{{PAGENAME}}</default></title>
<onlyinclude>
    <image source="image">he
{| class="infobox"
          <caption source="image desc"/>
 
    </image>
|-
    <group>
! class="infobox-header" colspan="2" | {{{title|''Unknown''}}}
    <header>Location</header>
 
    <data source="act"><label>act</label></data>
|-
        <data source="region"><label>region</label></data>
{{#if: {{{image|}}} |
            <data source="waypoint"><label>waypoint</label></data>
{{!}} class="infobox-image" colspan="2" {{!}} {{{image}}}
    </group>
| }}
    <group>
 
    <header>People</header>
|-
            <data source="quest givers"><label>quest givers</label></data>
{{#if: {{{imagecaption|}}} |
    <data source="merchants"><label>merchants</label></data>
{{!}} class="infobox-caption" colspan="2" {{!}} {{{imagecaption}}}
            <data source="other npcs"><label>other npcs</label></data>
| }}
    </group>
 
    <group>
|-
    <header>Monsters</header>
! colspan="2" | <div class="infobox-section-header">Location</div>
    <data source="regulars"><label>regulars</label></data>
 
    <data source="nightmare"><label>nightmare regulars</label></data>
|-
    <data source="elites"><label>elites</label></data>
{{#if: {{{region|}}} |
    <data source="hell"><label>nightmare elites</label></data>
! Region
    <data source="guests"><label>guests</label></data>
{{!}} {{{region}}}
    <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>
! Act
            <data source="bosses"><label>bosses</label></data>
| {{{act|''Unknown''}}}
    </group>
 
    <group>
|-
    <header>Connections</header>
! Waypoint
            <data source="town"><label>town</label>l</data>
| {{{waypoint|''Unknown''}}}
            <data source="adjacent zones"><label>adjacent zones</label></data>
 
    </group>
|-
    <group>
! colspan="2" | <div class="infobox-section-header">People</div>
    <header>Other</header>
 
        <data source="quests"><label>quests</label></data>
|-
    </group>
{{#if: {{{quest givers|}}} |
    <group>
! Quest Givers
    <header>Area Level</header>
{{!}} {{{quest givers}}}
        <data source="hatred"><label>normal</label></data>
| }}
        <data source="terror"><label>nightmare</label></data>
 
        <data source="destruction"><label>hell</label></data>
|-
    </group>
{{#if: {{{merchants|}}} |
    <group>
! Merchants
    <header>Map</header>
{{!}} {{{merchants}}}
        <image source="area map">
| }}
          <caption source="map desc"/>
 
        </image>
|-
    </group>
{{#if: {{{other npcs|}}} |
</infobox>
! Other NPCs
</includeonly>
{{!}} {{{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>
 
|-
{{#if: {{{town|}}} |
! Town
{{!}} {{{town}}}
| }}
 
|-
{{#if: {{{adjacent zones|}}} |
! Adjacent Zones
{{!}} {{{adjacent zones}}}
| }}
 
|-
{{#if: {{{quests|}}} |
! Quests
{{!}} {{{quests}}}
| }}
 
|-
! colspan="2" | <div class="infobox-section-header">Area Level</div>
 
|-
{{#if: {{{hatred|}}} |
! Normal
{{!}} {{{hatred}}}
| }}
 
|-
{{#if: {{{terror|}}} |
! Nightmare
{{!}} {{{terror}}}
| }}
 
|-
{{#if: {{{destruction|}}} |
! Hell
{{!}} {{{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}}}
| }}
 
|- style="font-size:0; line-height:0;"
! style="width:50%; padding:0" |
! style="width:50%; padding:0" |
 
|}
</onlyinclude>
<noinclude>
<noinclude>
== Usage & preview ==
== Usage & preview ==

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 =
}}