Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox NPC: Difference between revisions

Template page
Imported from text file
 
Imported from text file
Line 1: Line 1:
<includeonly>{| class="infobox"
<includeonly><table class="infobox">
|+ class="infobox-title" | {{{title|{{PAGENAME}}}}}
  <caption class="infobox-title">{{{title|{{PAGENAME}}}}}</caption>
{{#if:{{{image|}}}|
  {{#if:{{{image|}}}|
{{!}}-
  <tr><td colspan="2" class="infobox-image">[[File:{{{image}}}|300px]]</td></tr>
{{!}} colspan="2" class="infobox-image" {{!}} [[File:{{{image}}}|300px]]
  }}
}}
  {{#if:{{{Tags|}}}|
{{#if:{{{Tags|}}}|
  <tr><th class="infobox-label">Tags</th><td class="infobox-data">{{{Tags}}}</td></tr>
{{!}}-
  }}
! class="infobox-label" {{!}} Tags
  {{#if:{{{World|}}}|
{{!}} class="infobox-data" {{!}} {{{Tags}}}
  <tr><th class="infobox-label">World</th><td class="infobox-data">{{{World}}}</td></tr>
}}
  }}
{{#if:{{{World|}}}|
  {{#if:{{{Campaign|}}}|
{{!}}-
  <tr><th class="infobox-label">Campaign</th><td class="infobox-data">{{{Campaign}}}</td></tr>
! class="infobox-label" {{!}} World
  }}
{{!}} class="infobox-data" {{!}} {{{World}}}
  {{#if:{{{Position|}}}|
}}
  <tr><th class="infobox-label">Position</th><td class="infobox-data">{{{Position}}}</td></tr>
{{#if:{{{Campaign|}}}|
  }}
{{!}}-
  {{#if:{{{Faction|}}}|
! class="infobox-label" {{!}} Campaign
  <tr><th class="infobox-label">Faction</th><td class="infobox-data">{{{Faction}}}</td></tr>
{{!}} class="infobox-data" {{!}} {{{Campaign}}}
  }}
}}
  {{#if:{{{Contained By|}}}|
{{#if:{{{Position|}}}|
  <tr><th class="infobox-label">Contained By</th><td class="infobox-data">{{{Contained By}}}</td></tr>
{{!}}-
  }}
! class="infobox-label" {{!}} Position
  {{#if:{{{Important People|}}}|
{{!}} class="infobox-data" {{!}} {{{Position}}}
  <tr><th class="infobox-label">Important People</th><td class="infobox-data">{{{Important People}}}</td></tr>
}}
  }}
{{#if:{{{Faction|}}}|
  {{#if:{{{Related Entries|}}}|
{{!}}-
  <tr><th class="infobox-label">Related Entries</th><td class="infobox-data">{{{Related Entries}}}</td></tr>
! class="infobox-label" {{!}} Faction
  }}
{{!}} class="infobox-data" {{!}} {{{Faction}}}
  {{#if:{{{Link|}}}|
}}
  <tr><th class="infobox-label">Link</th><td class="infobox-data">{{{Link}}}</td></tr>
{{#if:{{{Contained By|}}}|
  }}
{{!}}-
</table></includeonly>
! class="infobox-label" {{!}} Contained By
{{!}} class="infobox-data" {{!}} {{{Contained By}}}
}}
{{#if:{{{Important People|}}}|
{{!}}-
! class="infobox-label" {{!}} Important People
{{!}} class="infobox-data" {{!}} {{{Important People}}}
}}
{{#if:{{{Related Entries|}}}|
{{!}}-
! class="infobox-label" {{!}} Related Entries
{{!}} class="infobox-data" {{!}} {{{Related Entries}}}
}}
{{#if:{{{Link|}}}|
{{!}}-
! class="infobox-label" {{!}} Link
{{!}} class="infobox-data" {{!}} {{{Link}}}
}}
|}</includeonly>

Revision as of 20:39, 13 January 2026