You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:Rp/ffn: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(template for formatting a faction name)
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#if:{{P1|1={{{3|}}}}}|{{CL|{{{1}}}|{{{2}}}}} {{{3}}}|{{CL|{{#switch:{{{1}}}|Town=Townie|Mafia=Mafioso|Cult=Cultist|{{{1}}}}}|{{{2}}}}}}}<noinclude>{{Rp/ffn/doc}}</noinclude>
{{#if:{{P1|1={{{3|}}}}}|{{CL|{{{1}}}|{{{2}}}}} {{{3}}}|{{CL|{{#switch:{{{1}}}|Town=Townie|Mafia=Mafioso|Cult=Cultist|Cultafia=Cultafioso|{{{1}}}}}|{{{2}}}}}}}<noinclude>{{Rp/ffn/doc}}</noinclude>

Latest revision as of 11:03, 4 March 2024

[[{{{1}}}|{{{1}}}]]

Name:
  • Rp/ffn
Types:
Sub-Template:
  • Yes
Designer:

The {{Rp/ffn}} template formats a faction name as it should appear in a role PM. In most cases this is just a case of linking and colouring the name. However, if the faction name appears at the end of the role name, it may need to be adjusted:

  • Town Cop but Bulletproof Townie
  • Mafia Roleblocker but Ascetic Mafioso
  • Cult Tracker but Cultist

This template takes three arguments: the faction name; the colour in which it should appear; and the parts of the role name that appear after the faction name (in an already-formatted form, i.e. with links and colours already present). The output is the role name from the faction name onwards, appropriately linked and coloured.

Examples