Template:Raffle: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(added "nl" to disable linking when inputted as variable 1)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>| {{#ifeq:{{{1}}}|nl|{{{2}}}|{{ilink|{{{1}}}|{{{2}}}}}}} || [[{{{3}}}]]
<includeonly>| {{#ifeq:{{{1}}}|nl|{{{2}}}|{{sloot|{{{1}}}|{{{2}}}|{{#if:{{{n|}}}|{{{n}}}|{{{2}}}}}}}}} || {{#if:{{{3|}}}|[[{{{3}}}]]|?}} || {{#if:{{{4|}}}|{{{4}}}}}
|-</includeonly><noinclude>
|-</includeonly><noinclude>
==Usage Documentation==
==Usage Documentation==
Line 7: Line 7:


<pre>
<pre>
{{Raffle|<item type>|<item>|<winner>}}
{{Raffle|<item type>|<item>|<winner>|<notes> (optional)|n=<display name> (optional)}}
</pre>
</pre>



Latest revision as of 04:20, 7 November 2013

Usage Documentation

A template used to list the winners of a raffle and the items won.

Syntax

{{Raffle|<item type>|<item>|<winner>|<notes> (optional)|n=<display name> (optional)}}

Item type should be taken from the list used by Template:Ilink.