Difference between revisions of "Template:Infobox role/doc"

From MafiaWiki
Jump to: navigation, search
Line 4: Line 4:
 
==Syntax==
 
==Syntax==
 
<pre>
 
<pre>
{{infobox
+
{{Infobox role
 
|affiliation  =
 
|affiliation  =
 
|summary      =
 
|summary      =
Line 17: Line 17:
  
 
===Notes===
 
===Notes===
 +
* '''DO NOT USE THIS INFOBOX. USE THE AFFILIATION-SPECIFIC ONES.''' Of course, this is still a reference for filling out the latter.
 
* Affiliation is either "Mafia", "Town", or "Third-Party". Don't make your own shit up.
 
* Affiliation is either "Mafia", "Town", or "Third-Party". Don't make your own shit up.
 
* Summary is a one-sentence thing. Something like "Prevents other people from executing their night actions" or "Targets players for the Mafia to kill"
 
* Summary is a one-sentence thing. Something like "Prevents other people from executing their night actions" or "Targets players for the Mafia to kill"
Line 25: Line 26:
 
* In the Investigator field, put links to the roles that share the same investigator message. For example, [[Doctor]] and [[Serial Killer]] return the same message, so in the Doctor article, this field will contain Serial Killer, and vice versa.
 
* In the Investigator field, put links to the roles that share the same investigator message. For example, [[Doctor]] and [[Serial Killer]] return the same message, so in the Doctor article, this field will contain Serial Killer, and vice versa.
 
* In Strategies, put links to any strategy pages that actively involve this role.
 
* In Strategies, put links to any strategy pages that actively involve this role.
 
==Sample output==
 
{{Infobox role
 
|Box title    = Info Title
 
|image        = Image:Example.jpg
 
|imagewidth  = 120
 
|caption      = A flower
 
|Row 1 title  = Title row 1
 
|Row 1 info  = Info row 1
 
|Row 2 title  = Title row 2
 
|Row 2 info  = Info row 2
 
|Row 3 title  = Title row 3
 
|Row 3 info  = Info row 3
 
|Row 4 title  = Title row 4
 
|Row 4 info  = Info row 4
 
|Row 5 title  = Title row 5
 
|Row 5 info  = Info row 5
 
|Row 6 title  = Title row 6
 
|Row 6 info  = Info row 6
 
|Row 7 title  = Title row 7
 
|Row 7 info  = Info row 7
 
|Row 8 title  = Title row 8
 
|Row 8 info  = Info row 8
 
|Row 9 title  = Title row 9
 
|Row 9 info  = Info row 9
 
|Row 10 title = Title row 10
 
|Row 10 info  = Info row 10
 
}}
 
Complete Infobox:<br />
 
<code>
 
'''<nowiki>{{</nowiki>Infobox'''<br />
 
'''|'''Box title    = Info Title<br />
 
'''|'''image        = Image:Example.jpg<br />
 
'''|'''imagewidth  = 120<br />
 
'''|'''caption      = A flower<br />
 
'''|'''Row 1 title  = Title row 1<br />
 
'''|'''Row 1 info  = Info row 1<br />
 
'''|'''Row 2 title  = Title row 2<br />
 
'''|'''Row 2 info  = Info row 2<br />
 
'''|'''Row 3 title  = Title row 3<br />
 
'''|'''Row 3 info  = Info row 3<br />
 
'''|'''Row 4 title  = Title row 4<br />
 
'''|'''Row 4 info  = Info row 4<br />
 
'''|'''Row 5 title  = Title row 5<br />
 
'''|'''Row 5 info  = Info row 5<br />
 
'''|'''Row 6 title  = Title row 6<br />
 
'''|'''Row 6 info  = Info row 6<br />
 
'''|'''Row 7 title  = Title row 7<br />
 
'''|'''Row 7 info  = Info row 7<br />
 
'''|'''Row 8 title  = Title row 8<br />
 
'''|'''Row 8 info  = Info row 8<br />
 
'''|'''Row 9 title  = Title row 9<br />
 
'''|'''Row 9 info  = Info row 9<br />
 
'''|'''Row 10 title = Title row 10<br />
 
'''|'''Row 10 info  = Info row 10<br />
 
'''<nowiki>}}</nowiki>'''
 
</code>
 
  
 
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]][[Category:Infobox templates| ]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<includeonly>[[Category:General wiki templates|{{PAGENAME}}]][[Category:Infobox templates| ]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 00:48, 30 April 2011

Description

  • Provides a basic role infobox

Syntax

{{Infobox role
|affiliation  =
|summary      =
|abilities    =
|difficulty   =
|ability      =
|sherrif      =
|investigator =
|strategies   =
}}

Notes

  • DO NOT USE THIS INFOBOX. USE THE AFFILIATION-SPECIFIC ONES. Of course, this is still a reference for filling out the latter.
  • Affiliation is either "Mafia", "Town", or "Third-Party". Don't make your own shit up.
  • Summary is a one-sentence thing. Something like "Prevents other people from executing their night actions" or "Targets players for the Mafia to kill"
  • Abilities should be one word. Like "roleblock" or "investigate".
  • Difficulty is subjective. Put whatever you feel is right. Obviously someone like investigator is harder to play than a townie.
  • Has night ability is either yes or no.
  • Sherrif investigations either return "Guilty" or "Innocent". Write which one.
  • In the Investigator field, put links to the roles that share the same investigator message. For example, Doctor and Serial Killer return the same message, so in the Doctor article, this field will contain Serial Killer, and vice versa.
  • In Strategies, put links to any strategy pages that actively involve this role.