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

Template:TranscludeWithEditLink: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(template for showing a role PM fragment and giving an edit link to it)
 
(add a second argument)
Line 1: Line 1:
<code>{{{{{1}}}|P1|P2|P3|P4|P5|P6|P7|P8}}</code> ([{{fullurl:Template:{{{1}}}|action=edit}} edit])
<code>{{{{{1}}}|{{{2|P1}}}|P2|P3|P4|P5|P6|P7|P8}}</code> ([{{fullurl:Template:{{{1}}}|action=edit}} edit])
<noinclude>
<noinclude>
----
----
Line 8: Line 8:
|Designer=callforjudgement}}
|Designer=callforjudgement}}
This template shows the content of another template (using <code>P1</code> … <code>P8</code> as placeholders for parameters), and produces an "edit" link for that template. The purpose is to edit fragment templates that are used to generate pages like role PMs.
This template shows the content of another template (using <code>P1</code> … <code>P8</code> as placeholders for parameters), and produces an "edit" link for that template. The purpose is to edit fragment templates that are used to generate pages like role PMs.
You can specify a second argument to override the first argument given to the other template.


== Examples ==
== Examples ==

Revision as of 05:12, 8 December 2018

{{{{{1}}}|P1|P2|P3|P4|P5|P6|P7|P8}} ([{{fullurl:Template:{{{1}}}|action=edit}} edit])


Name:
  • TranscludeWithEditLink
Type:
Sub-Template:
  • No
Designer:

This template shows the content of another template (using P1P8 as placeholders for parameters), and produces an "edit" link for that template. The purpose is to edit fragment templates that are used to generate pages like role PMs.

You can specify a second argument to override the first argument given to the other template.

Examples

{{TranscludeWithEditLink|RoleFragment/t/Cop}}
you will learn whether that player wins with Town. (You will get "no result" if this action is blocked.) (edit)
{{TranscludeWithEditLink|ShowArgs}}
1=P1; 2=P2; 3=P3; 4=P4; 5=P5; 6=P6; 7=P7; 8=P8 (edit)