Difference between revisions of "Template:Infobox Faction"

From Shadow Accord
Jump to: navigation, search
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
  | bodystyle  = width:20em
 
  | bodystyle  = width:20em
  
  | abovestyle  = color:#FFF; background: {{#switch: {{{Faction}}}
+
  | abovestyle  = background: {{#switch: {{{Faction}}}
 
                               | Vampire  = #C00
 
                               | Vampire  = #C00
 
                               | Shifter  = #3a0
 
                               | Shifter  = #3a0
 
                               | Wraith  = #017
 
                               | Wraith  = #017
 
                               | Sorcerer = #c46
 
                               | Sorcerer = #c46
                               | #default = #000 }};  
+
                               | #default = #000 }}; color:#FFF;  
 
  | above      = FACTION
 
  | above      = FACTION
  
  | headerstyle = color:#FFF; background: {{#switch: {{{Faction}}}
+
  | headerstyle = background: {{#switch: {{{Faction}}}
 
                               | Vampire  = #C00
 
                               | Vampire  = #C00
 
                               | Shifter  = #3a0
 
                               | Shifter  = #3a0
 
                               | Wraith  = #017
 
                               | Wraith  = #017
 
                               | Sorcerer = #c46
 
                               | Sorcerer = #c46
                               | #default = #000 }};
+
                               | #default = #000 }}; color:#FFF;  
  
 
  | labelstyle  = width:40%; background:#DDD;
 
  | labelstyle  = width:40%; background:#DDD;
Line 23: Line 23:
  
 
<!-- SECTION: Faction -->
 
<!-- SECTION: Faction -->
  | header1    = {{{Faction}}}
+
  | header1    = {{{Faction|}}}
  
  | label2      = Known as:              | data2  = {{{Known as|}}}
+
  | label2      = Known as:              | data2  =  
 +
{{ #if: {{{Know as 01|}}} | &bull; }} {{{Know as 01|}}}
 +
 
 +
{{ #if: {{{Know as 02|}}} | &bull; }} {{{Know as 02|}}}
 +
 
 +
{{ #if: {{{Know as 03|}}} | &bull; }} {{{Know as 03|}}}
 +
 
 +
{{ #if: {{{Know as 04|}}} | &bull; }} {{{Know as 04|}}}
 +
 
 +
{{ #if: {{{Know as 05|}}} | &bull; }} {{{Know as 05|}}}
 
  | label3      = Native Realm:          | data3  = {{{Native Realm|}}}
 
  | label3      = Native Realm:          | data3  = {{{Native Realm|}}}
 
  | label4      = Energy Type:          | data4  = {{{Energy Type|}}}
 
  | label4      = Energy Type:          | data4  = {{{Energy Type|}}}
 
  | label5      = Virtue Type:          | data5  = {{{Virtue Type|}}}
 
  | label5      = Virtue Type:          | data5  = {{{Virtue Type|}}}
  | label6      = Sub-Faction Type(s):  | data6  = {{{Sub-Faction Type(s)|}}}
+
  | label6      = Sub-Faction Type(s):  | data6  =  
 +
{{ #if: {{{Sub-Faction 01|}}} | &bull; }} {{{Sub-Faction 01|}}}
 +
 
 +
{{ #if: {{{Sub-Faction 02|}}} | &bull; }} {{{Sub-Faction 02|}}}
 +
 
 +
{{ #if: {{{Sub-Faction 03|}}} | &bull; }} {{{Sub-Faction 03|}}}
 +
 
 +
{{ #if: {{{Sub-Faction 04|}}} | &bull; }} {{{Sub-Faction 04|}}}
 +
 
 +
{{ #if: {{{Sub-Faction 05|}}} | &bull; }} {{{Sub-Faction 05|}}}
 
  | label7      = Power Type:            | data7  = {{{Power Type|}}}
 
  | label7      = Power Type:            | data7  = {{{Power Type|}}}
 
  | label8      = Aggravated Damage:    | data8  =  
 
  | label8      = Aggravated Damage:    | data8  =  
Line 43: Line 61:
  
 
<!-- SECTION: Base Stats -->
 
<!-- SECTION: Base Stats -->
  | label9      = {{{Energy Type|}}}:    | data9  = {{{Energy Number|}}}
+
  | header9    = {{ #if: {{{Energy Number|}}}{{{Virtue Number|}}}{{{Additional Variable 01|}}}{{{Additional Variable 02|}}}{{{Additional Variable 03|}}} | Base Stats }}
  | label10     = {{{Virtue Type|}}}:    | data10 = {{{Virtue Number|}}}
+
| label10    = {{{Energy Type|}}}:    | data10 = {{{Energy Number|}}}
  | label11     = Regeneration Rate:    | data11 = {{{Regeneration Rate|}}}
+
  | label11     = {{{Virtue Type|}}}:    | data11 = {{{Virtue Number|}}}
  | label12     = Additional Label 01    | data12 = {{{Additional Label 01|}}}
+
  | label12     = Regeneration Rate:    | data12 = {{{Regeneration Rate|}}}
| label13    = Additional Variable 01 | data13 = {{{Additional Variable 01|}}}
+
  | label13     = {{{Additional Label 01|}}} | data13 = {{{Additional Variable 01|}}}
  | label14    = Additional Label 02    | data14 = {{{Additional Label 02|}}}
+
  | label14    = {{{Additional Label 02|}}} | data14 = {{{Additional Variable 02|}}}
| label15    = Additional Variable 02 | data15 = {{{Additional Variable 02|}}}
+
  | label15     = {{{Additional Label 03|}}} | data15 = {{{Additional Variable 03|}}}
  | label16     = Additional Label 03    | data16 = {{{Additional Label 03|}}}
 
| label17    = Additional Variable 03 | data17 = {{{Additional Variable 03|}}}
 
  
 
<!-- SECTION: Energy Regeneration -->
 
<!-- SECTION: Energy Regeneration -->
  | header18   = Energy Regeneration
+
  | header16   = {{ #if: {{{Regain Energy 01|}}}{{{Regain Energy 02|}}}{{{Regain Energy 03|}}}{{{Regain Energy 04|}}}{{{Regain Energy 05|}}}{{{Regain Energy 06|}}}{{{Regain Energy 07|}}}| Energy Regeneration }}
  | label19     =                        | data19 =  
+
  | label17     =                        | data17 =  
 
{{{Regain Energy 01|}}}
 
{{{Regain Energy 01|}}}
  
Line 71: Line 87:
  
 
<!-- SECTION: Pros & Cons -->
 
<!-- SECTION: Pros & Cons -->
  | header20   = {{ #if: {{{Benefit 01|}}}{{{Benefit 02|}}}{{{Benefit 03|}}}{{{Benefit 04|}}}{{{Benefit 05|}}}{{{Benefit 06|}}} | Pros & Cons }}
+
  | header18   = {{ #if: {{{Benefit 01|}}}{{{Benefit 02|}}}{{{Benefit 03|}}}{{{Benefit 04|}}}{{{Benefit 05|}}}{{{Benefit 06|}}}{{{Drawback 01|}}}{{{Drawback 02|}}}{{{Drawback 03|}}}{{{Drawback 04|}}}{{{Drawback 05|}}}{{{Drawback 06|}}} | Pros & Cons }}
  | label21     = Benefit(s):            | data21 =  
+
  | label19     = Benefit(s):            | data19 =  
 
{{ #if: {{{Benefit 01|}}} | &bull; }} {{{Benefit 01|}}}
 
{{ #if: {{{Benefit 01|}}} | &bull; }} {{{Benefit 01|}}}
  
Line 84: Line 100:
  
 
{{ #if: {{{Benefit 06|}}} | &bull; }} {{{Benefit 06|}}}
 
{{ #if: {{{Benefit 06|}}} | &bull; }} {{{Benefit 06|}}}
  | label22     = Drawback(s):          | data22 =  
+
  | label20     = Drawback(s):          | data20 =  
 
{{ #if: {{{Drawback 01|}}} | &bull; }} {{{Drawback 01|}}}
 
{{ #if: {{{Drawback 01|}}} | &bull; }} {{{Drawback 01|}}}
  
Line 98: Line 114:
  
 
<!-- SECTION: Laws -->
 
<!-- SECTION: Laws -->
  | header23   = {{ #if: {{{Laws|}}} | Laws }}}
+
  | header21   = {{ #if: {{{Laws|}}} | Laws }}
  | label24     =                        | data24 = {{{Laws|}}}
+
  | label22     =                        | data22 = {{{Laws|}}}
 +
}}
 +
<noinclude>
 +
== Usage ==
 +
To use this template on a page, simply paste this Wiki-markup in to the edit page and fill in the variables you want. Fields not specified will not render.
 +
 
 +
Specifying a Faction will change the box to a pre-determined color scheme. Current Faction options include:
 +
* Shifter
 +
* Wraith
 +
* Vampire
 +
* Sorcerer
 +
<pre style="overflow:auto">
 +
{{Infobox Factions
 +
| Header Image          =
 +
| Faction                =
 +
 
 +
<!-- SECTION: Faction -->
 +
| Know as 01            =
 +
| Know as 02            =
 +
| Know as 03            =
 +
| Know as 04            =
 +
| Know as 05            =
 +
| Native Realm          =
 +
| Energy Type            =
 +
| Virtue Type            =
 +
| Sub-Faction 01        =
 +
| Sub-Faction 02        =
 +
| Sub-Faction 03        =
 +
| Sub-Faction 04        =
 +
| Sub-Faction 05        =
 +
| Power Type            =
 +
| Aggravated Damage 01  =
 +
| Aggravated Damage 02  =
 +
| Aggravated Damage 03  =
 +
| Aggravated Damage 04  =
 +
| Aggravated Damage 05  =
 +
 
 +
<!-- SECTION: Base Stats -->
 +
| Energy Number          =
 +
| Virtue Number          =
 +
| Regeneration Rate      =
 +
| Additional Label 01    =
 +
| Additional Variable 01 =
 +
| Additional Label 02    =
 +
| Additional Variable 02 =
 +
| Additional Label 03    =
 +
| Additional Variable 03 =
 +
| Regain Energy 01      =
 +
| Regain Energy 02      =
 +
| Regain Energy 03      =
 +
| Regain Energy 04      =
 +
| Regain Energy 05      =
 +
| Regain Energy 06      =
 +
| Regain Energy 07      =
 +
 
 +
<!-- SECTION: Pros & Cons -->
 +
| Benefit 01            =
 +
| Benefit 02            =
 +
| Benefit 03            =
 +
| Benefit 04            =
 +
| Benefit 05            =
 +
| Benefit 06            =
 +
| Drawback 01            =
 +
| Drawback 02            =
 +
| Drawback 03            =
 +
| Drawback 04            =
 +
| Drawback 05            =
 +
| Drawback 06            =
 +
 
 +
<!-- SECTION: Laws -->
 +
| Laws                  =
 
}}
 
}}
 +
</pre>{{clear}}
 +
</noinclude>

Latest revision as of 21:34, 9 March 2015

{{#invoke:Infobox|infobox}}

Usage[edit]

To use this template on a page, simply paste this Wiki-markup in to the edit page and fill in the variables you want. Fields not specified will not render.

Specifying a Faction will change the box to a pre-determined color scheme. Current Faction options include:

  • Shifter
  • Wraith
  • Vampire
  • Sorcerer
{{Infobox Factions
 | Header Image           = 
 | Faction                = 

<!-- SECTION: Faction -->
 | Know as 01             = 
 | Know as 02             = 
 | Know as 03             = 
 | Know as 04             = 
 | Know as 05             = 
 | Native Realm           = 
 | Energy Type            = 
 | Virtue Type            = 
 | Sub-Faction 01         = 
 | Sub-Faction 02         = 
 | Sub-Faction 03         = 
 | Sub-Faction 04         = 
 | Sub-Faction 05         = 
 | Power Type             = 
 | Aggravated Damage 01   = 
 | Aggravated Damage 02   = 
 | Aggravated Damage 03   = 
 | Aggravated Damage 04   = 
 | Aggravated Damage 05   = 

<!-- SECTION: Base Stats -->
 | Energy Number          = 
 | Virtue Number          = 
 | Regeneration Rate      = 
 | Additional Label 01    = 
 | Additional Variable 01 = 
 | Additional Label 02    = 
 | Additional Variable 02 = 
 | Additional Label 03    = 
 | Additional Variable 03 = 
 | Regain Energy 01       = 
 | Regain Energy 02       = 
 | Regain Energy 03       = 
 | Regain Energy 04       = 
 | Regain Energy 05       = 
 | Regain Energy 06       = 
 | Regain Energy 07       = 

<!-- SECTION: Pros & Cons -->
 | Benefit 01             = 
 | Benefit 02             = 
 | Benefit 03             = 
 | Benefit 04             = 
 | Benefit 05             = 
 | Benefit 06             = 
 | Drawback 01            = 
 | Drawback 02            = 
 | Drawback 03            = 
 | Drawback 04            = 
 | Drawback 05            = 
 | Drawback 06            = 

<!-- SECTION: Laws -->
 | Laws                   = 
}}