Difference between revisions of "Template:Adversaries"

From Spirit Island Wiki
Jump to: navigation, search
(Updated Adversary template to be more flexible. Fixed a typo.)
(Made prepagename and postpagename optional.)
Line 6: Line 6:
 
{{Adversaries
 
{{Adversaries
 
|gamebox=Core, Branch and Claw, or Promotional, Jagged Earth
 
|gamebox=Core, Branch and Claw, or Promotional, Jagged Earth
|prepagename=Part of an Adversary's full name that comes before its shortened name. (e.g., "Kingdom of" for England)
+
|prepagename=Optional. Part of an Adversary's full name that comes before its shortened name. (e.g., "Kingdom of" for England)
|postpagename=Part of an Adversary's full name that comes after its shortened name. (e.g., "(Plantation Colony)" for France)
+
|postpagename=Optional. Part of an Adversary's full name that comes after its shortened name. (e.g., "(Plantation Colony)" for France)
 
|loresection=Lore section, from the [[Lore]] Page.
 
|loresection=Lore section, from the [[Lore]] Page.
 
|lossname=The name of the additional loss condition.
 
|lossname=The name of the additional loss condition.
Line 24: Line 24:
 
<div id="adversary">
 
<div id="adversary">
  
={{PREPAGENAME}} {{PAGENAME}} {{POSTPAGENAME}}=
+
={{#if: {{{PREPAGENAME|}}}|}} {{PAGENAME}} {{#if: {{{POSTPAGENAME|}}}|}}=
 
<div class="firstbox">
 
<div class="firstbox">
<div class="titlebox">'''{{PREPAGENAME}} {{PAGENAME}} {{POSTPAGENAME}}'''</div>
+
<div class="titlebox">'''{{#if: {{{PREPAGENAME|}}}|}} {{PAGENAME}} {{#if: {{{POSTPAGENAME|}}}|}}'''</div>
 
BASE DIFFICULTY {{{leveldifficulty0}}}
 
BASE DIFFICULTY {{{leveldifficulty0}}}
 
<div class="lossbox">'''''Additional Loss Condition'''''</div>
 
<div class="lossbox">'''''Additional Loss Condition'''''</div>
Line 70: Line 70:
  
  
={{PREPAGENAME}} {{PAGENAME}} {{POSTPAGENAME}} Lore=
+
={{#if: {{{PREPAGENAME|}}}|}} {{PAGENAME}} {{#if: {{{POSTPAGENAME|}}}|}} Lore=
  
 
{{#lst:Lore|{{{loresection}}}}}
 
{{#lst:Lore|{{{loresection}}}}}
  
={{PREPAGENAME}} {{PAGENAME}} {{POSTPAGENAME}} Strategy=
+
={{#if: {{{PREPAGENAME|}}}|}} {{PAGENAME}} {{#if: {{{POSTPAGENAME|}}}|}} Strategy=
 
{{{strategy}}}
 
{{{strategy}}}
  

Revision as of 17:52, 4 August 2020

Template for Adversary Pages. Any category marked Optional may be left blank, or ideally omitted entirely. Any parameter with a # should start with a 1, and increase incrementally as needed.

Unless otherwise instructed, do not include wiki markup or links.

{{Adversaries
|gamebox=Core, Branch and Claw, or Promotional, Jagged Earth
|prepagename=Optional. Part of an Adversary's full name that comes before its shortened name. (e.g., "Kingdom of" for England)
|postpagename=Optional. Part of an Adversary's full name that comes after its shortened name. (e.g., "(Plantation Colony)" for France)
|loresection=Lore section, from the [[Lore]] Page.
|lossname=The name of the additional loss condition.
|loss=Additional Loss Condition. Wiki Text Acceptable.
|stage2name=Name of the Stage 2 condition.
|stage2=Stage 2 Escalation condition. Wiki Text Acceptable.
|levelName#=The name of this level.
|leveldifficulty#=The difficulty for the specific level.
|levelFear#=Total fear cards for this level (levels 1-6), plus the fear deck setup
|levelEffect#=The effect of this level, Wiki Text Acceptable.
|strategy=Strategy for dealing with this adversary. Wiki Text Acceptable.
}}