Template:Infobox Merit

From Edge of Darkness Wiki

Infobox Merit
Jump to: navigation, search
m
m
 
(28 intermediate revisions not shown)
Line 1: Line 1:
-
<includeonly>{{Infobox
+
<includeonly>[[Category:RAW|{{PAGENAME}}]]{{#set: Page has default form=Merit Editor }}{{Infobox
|name        = Infobox Merit
|name        = Infobox Merit
-
|bodystyle  = margin-left: 5px; padding: 5px; border: 1px solid #ff9933; border-radius: 5px;
 
-
|title      = {{{Name|}}}
+
|bodyclass    = {{{Restriction|}}}back
-
|image      = [[Image:{{{Source|}}}.jpg|border|200px|link={{{Source|}}}]]
+
|bodystyle    = margin-left: 10px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid;
 +
{{#switch: {{{Restriction|}}}
 +
|Changeling=border-color: #006000;
 +
|Mage=border-color: #1e5b7a;
 +
|Vampire=border-color: #800000;
 +
|Werewolf=border-color: #804124;
 +
|All=background: #1a1a1a; border-color: #ff9933;
 +
|background: black; border-color: #1a1a1a;
 +
}}
 +
 +
|titlestyle  = color: #ff9933; padding-top: 5px;  border-top-right-radius: 5px; border-top-left-radius: 5px;  border-left: 1px solid; border-right: 1px solid; border-top: 1px solid;
 +
{{#switch: {{{Restriction|}}}
 +
|Changeling=background: #003300; border-color: #006000;
 +
|Mage=background: #143d51; border-color: #1e5b7a;
 +
|Vampire=background: #330000; border-color: #800000;
 +
|Werewolf=background: #201009; border-color: #804124;
 +
|All=background: #1a1a1a; border-color: #ff9933;
 +
|background: black; border-color: #1a1a1a;
 +
}}
 +
 
 +
|title      = [[Permission::{{{Status|}}}]] [[Merit Type::{{{Type|}}}]]{{#switch: {{{Status|}}}|Banned={{Top icon|imagename=Stop.png|width=300|wikilink=Banned|description=This is not allowed for player characters.}}[[Category:Banned]]|House Ruled={{#set:Permission=Allowed}}|}}
 +
 
 +
|image      = [[Image:{{{Source|}}}.jpg|200px|link={{{Source|}}}]]
|caption    = [[Source::{{{Source|}}}]] {{{Pages|}}}{{#set:Parent={{{Source|}}}}}
|caption    = [[Source::{{{Source|}}}]] {{{Pages|}}}{{#set:Parent={{{Source|}}}}}
-
f
+
 
|headerstyle = padding: 5px; text-align:center; border: 1px solid; background: #1a1a1a;
|headerstyle = padding: 5px; text-align:center; border: 1px solid; background: #1a1a1a;
|header1    =
|header1    =
|labelstyle  = font-weight: bold; text-align: nowrap; right; color: #ff9933;
|labelstyle  = font-weight: bold; text-align: nowrap; right; color: #ff9933;
-
|label1      = Type
+
 
-
|data1      = [[Merit Type::{{{Type|}}}]]
+
|label1      = Preq's
 +
|data1      = {{{Prerequisite|}}}
 +
 
|label2      = {{#if:{{{Dot Level|}}}|Dot Level|}}
|label2      = {{#if:{{{Dot Level|}}}|Dot Level|}}
|data2      = {{#if:{{{Dot Level|}}}|{{nowrap|[[Dot Level::{{{Dot Level|}}}]]}}|}}
|data2      = {{#if:{{{Dot Level|}}}|{{nowrap|[[Dot Level::{{{Dot Level|}}}]]}}|}}
Line 73: Line 96:
|7=<br />{{dot7}} (56XP) {{#set:Merit Dots=7}}
|7=<br />{{dot7}} (56XP) {{#set:Merit Dots=7}}
}} }} }}
}} }} }}
-
|label5      = Prerequisite
+
 
-
|data5      = {{{Prerequisite|}}}
+
|label6      = Venue
|label6      = Venue
-
|data6      = {{#ifexist: {{{Restriction|}}} | [[Character Type::{{{Restriction|}}}]] | [[Character Type::All]] }}
+
|data6      = [[Character Type::{{{Restriction|}}}]]
-
|label7      = Status
+
|label7      =  
-
|data7      = {{#if: {{{Status|}}} | [[Permission::{{{Status|}}}]] | }}{{#switch: {{{Status|}}}|Banned={{Top icon|imagename=Stop.png|width=300|wikilink=Banned|description=This is not allowed for player characters.}}[[Category:Banned]]|}}
+
|data7      =  
-
|belowstyle = font-style:italic; white-space: nowrap;
+
|belowstyle = font-weight: bold; color: #ff9933; text-align: center;
-
|below      =  
+
|below      = Possessed By<br />{{#ask: [[Concept:Active Characters]] [[Has Merit::{{PAGENAME}}]] |format=template |link=none |template=Infobox/Avatar }}
}}[[Category:Merits]]</includeonly><noinclude>{{Documentation}}[[Category:Info Display Templates|{{PAGENAME}}]]</noinclude>
}}[[Category:Merits]]</includeonly><noinclude>{{Documentation}}[[Category:Info Display Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 14:40, 8 June 2016

[edit] [purge] Template documentation
{{Infobox Merit
|Name         = Name of Merit
|Type         = Mental, Mirrors, Physical, Sanctuary, Social, or Special
|Source       = Name of Sourcebook (Should correspond to wiki article)
|Pages        = page(s) from Sourcebook where Merit is found
|Dot Level    = Rating, ex. ● to ●●●
|Prerequisite = Prerequisites to purchasing Merit
|Restriction  = Changeling, Geist, Hunter, Mage, Mortal, Promethean, Vampire, Werewolf, or Any (default/blank is Any)
|Status       = Allowed or Banned (default/blank is Allowed)
}}
Personal tools
Namespaces
Variants
Actions
Navigation
games
Toolbox