Template:V: Difference between revisions

From FrathWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{{1}}} — {{ #expr: {{ #ifeq: {{{BL|}}} | y |1|0}} + {{ #ifeq: {{{BF|}}} | y |1|0}} + {{ #ifeq: {{{FH|}}} | y |1|0}} + {{ #ifeq: {{{RJ|}}} | y |1|0}} + {{ #ifeq: {{{MJ|}}} | y |1|0}} + {{ #ifeq: {{{JH|}}} | y |1|0}} + {{ #ifeq: {{{ES|}}} | y | 1|0}} }}/{{ #expr: {{ #ifeq: {{{BL|}}} | n |1|0}} + {{ #ifeq: {{{BF|}}} | n |1|0}} + {{ #ifeq: {{{FH|}}} | n |1|0}} + {{ #ifeq: {{{RJ|}}} | n |1|0}} + {{ #ifeq: {{{MJ|}}} | n |1|0}} + {{ #ifeq: {{{JH|}}} | n |1|0}} + {{ #ifeq: {{{ES|}}} | n |1|0}} }} (<!---->{{ #ifeq: {{{BL|}}} | y |BL,|}}{{ #ifeq: {{{BF|}}} | y |BF,|}}{{ #ifeq: {{{FH|}}} | y |[[User:Fenhl|FH]],|}}{{ #ifeq: {{{RJ|}}} | y |[[User:Sel messithildi|RJ]],|}}{{ #ifeq: {{{MJ|}}} | y |MJ,|}}{{ #ifeq: {{{JH|}}} | y |[[User:Jim Henry|JH]],|}}{{ #ifeq: {{{ES|}}} | y |[[User:Esploranto|ES]],|}}<!---->{{ #ifexpr: {{ #ifeq: {{{BL|}}} | y |1|0}} + {{ #ifeq: {{{BF|}}} | y |1|0}} + {{ #ifeq: {{{FH|}}} | y |1|0}} + {{ #ifeq: {{{RJ|}}} | y |1|0}} + {{ #ifeq: {{{MJ|}}} | y |1|0}} + {{ #ifeq: {{{JH|}}} | y |1|0}} + {{ #ifeq: {{{ES|}}} | y |1|0}} = 0 |0|}}/<!---->{{ #ifeq: {{{BL|}}} | n |BL,|}}{{ #ifeq: {{{BF|}}} | n |BF,|}}{{ #ifeq: {{{FH|}}} | n |[[User:Fenhl|FH]],|}}{{ #ifeq: {{{RJ|}}} | n |[[User:Sel messithildi|RJ]],|}}{{ #ifeq: {{{MJ|}}} | n |MJ,|}}{{ #ifeq: {{{JH|}}} | n |[[User:Jim Henry|JH]],|}}{{ #ifeq: {{{ES|}}} | n |[[User:Esploranto|ES]],|}}<!---->{{#ifexpr: {{ #ifeq: {{{BL|}}} | n |1|0}} + {{ #ifeq: {{{BF|}}} | n |1|0}} + {{ #ifeq: {{{FH|}}} | n |1|0}} + {{ #ifeq: {{{RJ|}}} | n |1|0}} + {{ #ifeq: {{{MJ|}}} | n |1|0}} + {{ #ifeq: {{{JH|}}} | n |1|0}} + {{ #ifeq: {{{ES|}}} | n |1|0}} = 0 |0|}}) {{ #ifeq: {{{o|}}} | nocat || [[Category:Voting]] {{ #if: {{{BL|}}} || [[Category:VoteBL]] }} {{ #if: {{{BF|}}} || [[Category:VoteBF]] }} {{ #if: {{{FH|}}} || [[Category:VoteFH]] }} {{ #if: {{{RJ|}}} || [[Category:VoteRJ]] }} {{ #if: {{{MJ|}}} || [[Category:VoteMJ]] }} {{ #if: {{{JH|}}} || [[Category:VoteJH]] }} {{ #if: {{{ES|}}} || [[Category:VoteES]] }} }}
<includeonly>{{{1}}} — {{ #expr: {{ #ifeq: {{{BL|}}} | y |1|0}} + {{ #ifeq: {{{BF|}}} | y |1|0}} + {{ #ifeq: {{{FH|}}} | y |1|0}} + {{ #ifeq: {{{RJ|}}} | y |1|0}} + {{ #ifeq: {{{MJ|}}} | y |1|0}} + {{ #ifeq: {{{JH|}}} | y |1|0}} + {{ #ifeq: {{{ES|}}} | y | 1|0}} }}/{{ #expr: {{ #ifeq: {{{BL|}}} | n |1|0}} + {{ #ifeq: {{{BF|}}} | n |1|0}} + {{ #ifeq: {{{FH|}}} | n |1|0}} + {{ #ifeq: {{{RJ|}}} | n |1|0}} + {{ #ifeq: {{{MJ|}}} | n |1|0}} + {{ #ifeq: {{{JH|}}} | n |1|0}} + {{ #ifeq: {{{ES|}}} | n |1|0}} }} (<!---->{{ #ifeq: {{{BL|}}} | y |BL,|}}{{ #ifeq: {{{BF|}}} | y |BF,|}}{{ #ifeq: {{{FH|}}} | y |[[User:Fenhl|FH]],|}}{{ #ifeq: {{{RJ|}}} | y |[[User:Sel messitihildi|RJ]],|}}{{ #ifeq: {{{MJ|}}} | y |MJ,|}}{{ #ifeq: {{{JH|}}} | y |[[User:Jim Henry|JH]],|}}{{ #ifeq: {{{ES|}}} | y |[[User:Esploranto|ES]],|}}<!---->{{ #ifexpr: {{ #ifeq: {{{BL|}}} | y |1|0}} + {{ #ifeq: {{{BF|}}} | y |1|0}} + {{ #ifeq: {{{FH|}}} | y |1|0}} + {{ #ifeq: {{{RJ|}}} | y |1|0}} + {{ #ifeq: {{{MJ|}}} | y |1|0}} + {{ #ifeq: {{{JH|}}} | y |1|0}} + {{ #ifeq: {{{ES|}}} | y |1|0}} = 0 |0|}}/<!---->{{ #ifeq: {{{BL|}}} | n |BL,|}}{{ #ifeq: {{{BF|}}} | n |BF,|}}{{ #ifeq: {{{FH|}}} | n |[[User:Fenhl|FH]],|}}{{ #ifeq: {{{RJ|}}} | n |[[User:Sel messitihildi|RJ]],|}}{{ #ifeq: {{{MJ|}}} | n |MJ,|}}{{ #ifeq: {{{JH|}}} | n |[[User:Jim Henry|JH]],|}}{{ #ifeq: {{{ES|}}} | n |[[User:Esploranto|ES]],|}}<!---->{{#ifexpr: {{ #ifeq: {{{BL|}}} | n |1|0}} + {{ #ifeq: {{{BF|}}} | n |1|0}} + {{ #ifeq: {{{FH|}}} | n |1|0}} + {{ #ifeq: {{{RJ|}}} | n |1|0}} + {{ #ifeq: {{{MJ|}}} | n |1|0}} + {{ #ifeq: {{{JH|}}} | n |1|0}} + {{ #ifeq: {{{ES|}}} | n |1|0}} = 0 |0|}}) {{ #ifeq: {{{o|}}} | nocat || [[Category:Voting]] {{ #if: {{{BL|}}} || [[Category:VoteBL]] }} {{ #if: {{{BF|}}} || [[Category:VoteBF]] }} {{ #if: {{{FH|}}} || [[Category:VoteFH]] }} {{ #if: {{{RJ|}}} || [[Category:VoteRJ]] }} {{ #if: {{{MJ|}}} || [[Category:VoteMJ]] }} {{ #if: {{{JH|}}} || [[Category:VoteJH]] }} {{ #if: {{{ES|}}} || [[Category:VoteES]] }} }}


</includeonly><noinclude>Creates a vote, and adds the page to the [[:Category:Voting|Voting category]].
</includeonly><noinclude>Creates a vote, and adds the page to the [[:Category:Voting|Voting category]].

Revision as of 06:22, 18 October 2010

Creates a vote, and adds the page to the Voting category.

Arguments

Example:

As many as would like to join — 3/2 (BF,RJ,JH,/FH,ES,)


{{V|As many as would like to join|BF=y|RJ=y|ES=n|JH=y|FH=n}}

{{{1}}}

The option voted on. In the example this is As many as would like to join

ynm

set this to anything other than whitespace to make the option "maybe" available. In the example this is omitted because there is no need for a "maybe" option.

Currently not implemented

o

Additional options. Currently supported values:

  • nocat — do not put the page into voting-related categories.

other

Other arguments are treated as voting tags. Set them to y, n or m. In the example these are BF=y, RJ=y, JH=y, and FH=n.

Voting tags

Click on your tag below to see pages that you still have to vote on: