Template:V: Difference between revisions
From FrathWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div style="padding: 4px; {{ #ifexpr: (( {{ #ifeq: {{{3|}}} | y |1|0}} + {{ #ifeq: {{{5|}}} | y |1|0}} + {{ #ifeq: {{{7|}}} | y |1|0}} + {{ #ifeq: {{{9|}}} | y |1|0}} + {{ #ifeq: {{{11|}}} | y |1|0}} + {{ #ifeq: {{{13|}}} | y |1|0}} + {{ #ifeq: {{{15|}}} | y | 1|0}} ) > ({{V/Majority}} / 2)) or {{ #ifeq: {{{result|}}} | y |1|0}} | border: 1px solid #0a0; background-color: #8f8; | {{ #ifexpr: (( {{ #ifeq: {{{3|}}} | n |1|0}} + {{ #ifeq: {{{5|}}} | n |1|0}} + {{ #ifeq: {{{7|}}} | n |1|0}} + {{ #ifeq: {{{9|}}} | n |1|0}} + {{ #ifeq: {{{11|}}} | n |1|0}} + {{ #ifeq: {{{13|}}} | n |1|0}} + {{ #ifeq: {{{15|}}} | n |1|0}} ) > ({{V/Majority}} / 2)) or {{ #ifeq: {{{result|}}} | n |1|0}} | border: 1px solid #f00; background-color: #fa8; | border: 1px solid #00f; background-color: #bef; }} }} "><!-- | <includeonly><div style="padding: 4px; {{ #ifexpr: (( {{ #ifeq: {{{3|}}} | y |1|0}} + {{ #ifeq: {{{5|}}} | y |1|0}} + {{ #ifeq: {{{7|}}} | y |1|0}} + {{ #ifeq: {{{9|}}} | y |1|0}} + {{ #ifeq: {{{11|}}} | y |1|0}} + {{ #ifeq: {{{13|}}} | y |1|0}} + {{ #ifeq: {{{15|}}} | y | 1|0}} + {{ #ifeq: {{{17|}}} | y | 1|0}} + {{ #ifeq: {{{19|}}} | y | 1|0}} ) > ({{V/Majority}} / 2)) or {{ #ifeq: {{{result|}}} | y |1|0}} | border: 1px solid #0a0; background-color: #8f8; | {{ #ifexpr: (( {{ #ifeq: {{{3|}}} | n |1|0}} + {{ #ifeq: {{{5|}}} | n |1|0}} + {{ #ifeq: {{{7|}}} | n |1|0}} + {{ #ifeq: {{{9|}}} | n |1|0}} + {{ #ifeq: {{{11|}}} | n |1|0}} + {{ #ifeq: {{{13|}}} | n |1|0}} + {{ #ifeq: {{{15|}}} | n |1|0}} + {{ #ifeq: {{{17|}}} | n |1|0}} + {{ #ifeq: {{{19|}}} | n |1|0}} ) > ({{V/Majority}} / 2)) or {{ #ifeq: {{{result|}}} | n |1|0}} | border: 1px solid #f00; background-color: #fa8; | border: 1px solid #00f; background-color: #bef; }} }} "><!-- | ||
starting date | starting date | ||
Line 7: | Line 7: | ||
number of yes/no votes: | number of yes/no votes: | ||
-->{{{1}}} — {{ #switch: {{{result|}}} | y='''VOTED IN'''| n='''VOTED OUT''' | #default= {{ #expr: {{ #ifeq: {{{3|}}} | y |1|0}} + {{ #ifeq: {{{5|}}} | y |1|0}} + {{ #ifeq: {{{7|}}} | y |1|0}} + {{ #ifeq: {{{9|}}} | y |1|0}} + {{ #ifeq: {{{11|}}} | y |1|0}} + {{ #ifeq: {{{13|}}} | y |1|0}} + {{ #ifeq: {{{15|}}} | y | 1|0}} }}/{{ #expr: {{ #ifeq: {{{3|}}} | n |1|0}} + {{ #ifeq: {{{5|}}} | n |1|0}} + {{ #ifeq: {{{7|}}} | n |1|0}} + {{ #ifeq: {{{9|}}} | n |1|0}} + {{ #ifeq: {{{11|}}} | n |1|0}} + {{ #ifeq: {{{13|}}} | n |1|0}} + {{ #ifeq: {{{15|}}} | n |1|0}} }} <!-- | -->{{{1}}} — {{ #switch: {{{result|}}} | y='''VOTED IN'''| n='''VOTED OUT''' | #default= {{ #expr: {{ #ifeq: {{{3|}}} | y |1|0}} + {{ #ifeq: {{{5|}}} | y |1|0}} + {{ #ifeq: {{{7|}}} | y |1|0}} + {{ #ifeq: {{{9|}}} | y |1|0}} + {{ #ifeq: {{{11|}}} | y |1|0}} + {{ #ifeq: {{{13|}}} | y |1|0}} + {{ #ifeq: {{{15|}}} | y | 1|0}} + {{ #ifeq: {{{17|}}} | y | 1|0}} + {{ #ifeq: {{{19|}}} | y | 1|0}} }}/{{ #expr: {{ #ifeq: {{{3|}}} | n |1|0}} + {{ #ifeq: {{{5|}}} | n |1|0}} + {{ #ifeq: {{{7|}}} | n |1|0}} + {{ #ifeq: {{{9|}}} | n |1|0}} + {{ #ifeq: {{{11|}}} | n |1|0}} + {{ #ifeq: {{{13|}}} | n |1|0}} + {{ #ifeq: {{{15|}}} | n |1|0}} + {{ #ifeq: {{{17|}}} | n |1|0}} + {{ #ifeq: {{{19|}}} | n |1|0}} }} <!-- | ||
Who voted yes? | Who voted yes? | ||
-->({{ #ifeq: {{{3|}}} | y |{{{2}}},|}}{{ #ifeq: {{{5|}}} | y |{{{4}}},|}}{{ #ifeq: {{{7|}}} | y |{{{6}}},|}}{{ #ifeq: {{{9|}}} | y |{{{8}}},|}}{{ #ifeq: {{{11|}}} | y |{{{10}}},|}}{{ #ifeq: {{{13|}}} | y |{{{12}}},|}}{{ #ifeq: {{{15|}}} | y |{{{14}}},|}}<!-- | -->({{ #ifeq: {{{3|}}} | y |{{{2}}},|}}{{ #ifeq: {{{5|}}} | y |{{{4}}},|}}{{ #ifeq: {{{7|}}} | y |{{{6}}},|}}{{ #ifeq: {{{9|}}} | y |{{{8}}},|}}{{ #ifeq: {{{11|}}} | y |{{{10}}},|}}{{ #ifeq: {{{13|}}} | y |{{{12}}},|}}{{ #ifeq: {{{15|}}} | y |{{{14}}},|}}{{ #ifeq: {{{17|}}} | y |{{{16}}},|}}{{ #ifeq: {{{19|}}} | y |{{{18}}},|}}<!-- | ||
If no one voted yes… | If no one voted yes… | ||
-->{{ #ifexpr: {{ #ifeq: {{{3|}}} | y |1|0}} + {{ #ifeq: {{{5|}}} | y |1|0}} + {{ #ifeq: {{{7|}}} | y |1|0}} + {{ #ifeq: {{{9|}}} | y |1|0}} + {{ #ifeq: {{{11|}}} | y |1|0}} + {{ #ifeq: {{{13|}}} | y |1|0}} + {{ #ifeq: {{{15|}}} | y |1|0}} = 0 |0|}}/<!-- | -->{{ #ifexpr: {{ #ifeq: {{{3|}}} | y |1|0}} + {{ #ifeq: {{{5|}}} | y |1|0}} + {{ #ifeq: {{{7|}}} | y |1|0}} + {{ #ifeq: {{{9|}}} | y |1|0}} + {{ #ifeq: {{{11|}}} | y |1|0}} + {{ #ifeq: {{{13|}}} | y |1|0}} + {{ #ifeq: {{{15|}}} | y |1|0}} + {{ #ifeq: {{{17|}}} | y |1|0}} + {{ #ifeq: {{{19|}}} | y |1|0}} = 0 |0|}}/<!-- | ||
Who voted no? | Who voted no? | ||
-->{{ #ifeq: {{{3|}}} | n |{{{2}}},|}}{{ #ifeq: {{{5|}}} | n |{{{4}}},|}}{{ #ifeq: {{{7|}}} | n |{{{6}}},|}}{{ #ifeq: {{{9|}}} | n |{{{8}}},|}}{{ #ifeq: {{{11|}}} | n |{{{10}}},|}}{{ #ifeq: {{{13|}}} | n |{{{12}}},|}}{{ #ifeq: {{{15|}}} | n |{{{14}}},|}}<!-- | -->{{ #ifeq: {{{3|}}} | n |{{{2}}},|}}{{ #ifeq: {{{5|}}} | n |{{{4}}},|}}{{ #ifeq: {{{7|}}} | n |{{{6}}},|}}{{ #ifeq: {{{9|}}} | n |{{{8}}},|}}{{ #ifeq: {{{11|}}} | n |{{{10}}},|}}{{ #ifeq: {{{13|}}} | n |{{{12}}},|}}{{ #ifeq: {{{15|}}} | n |{{{14}}},|}}{{ #ifeq: {{{17|}}} | n |{{{16}}},|}}{{ #ifeq: {{{19|}}} | n |{{{18}}},|}}<!-- | ||
if no one voted no… | if no one voted no… | ||
-->{{#ifexpr: {{ #ifeq: {{{3|}}} | n |1|0}} + {{ #ifeq: {{{5|}}} | n |1|0}} + {{ #ifeq: {{{7|}}} | n |1|0}} + {{ #ifeq: {{{9|}}} | n |1|0}} + {{ #ifeq: {{{11|}}} | n |1|0}} + {{ #ifeq: {{{13|}}} | n |1|0}} + {{ #ifeq: {{{15|}}} | n |1|0}} = 0 |0|}})}}<!-- | -->{{#ifexpr: {{ #ifeq: {{{3|}}} | n |1|0}} + {{ #ifeq: {{{5|}}} | n |1|0}} + {{ #ifeq: {{{7|}}} | n |1|0}} + {{ #ifeq: {{{9|}}} | n |1|0}} + {{ #ifeq: {{{11|}}} | n |1|0}} + {{ #ifeq: {{{13|}}} | n |1|0}} + {{ #ifeq: {{{15|}}} | n |1|0}} + {{ #ifeq: {{{17|}}} | n |1|0}} + {{ #ifeq: {{{19|}}} | n |1|0}} = 0 |0|}})}}<!-- | ||
categories: | categories: | ||
-->{{ #ifeq: {{{o|}}} | nocat || [[Category:Voting]] {{ #ifeq: {{{result|m}}} | y || {{ #ifeq: {{{result|m}}} | n ||<!-- | -->{{ #ifeq: {{{o|}}} | nocat || [[Category:Voting]] {{ #ifeq: {{{result|m}}} | y || {{ #ifeq: {{{result|m}}} | n ||<!-- | ||
-->{{ #ifeq: {{{2|}}} |BL||{{ #ifeq: {{{4|}}} |BL||{{ #ifeq: {{{6|}}} |BL||{{ #ifeq: {{{8|}}} |BL||{{ #ifeq: {{{10|}}} |BL||{{ #ifeq: {{{12|}}} |BL||{{ #ifeq: {{{14|}}} |BL|| [[Category:VoteBL]] }} }} }} }} }} }} }}<!-- | -->{{ #ifeq: {{{2|}}} |BL||{{ #ifeq: {{{4|}}} |BL||{{ #ifeq: {{{6|}}} |BL||{{ #ifeq: {{{8|}}} |BL||{{ #ifeq: {{{10|}}} |BL||{{ #ifeq: {{{12|}}} |BL||{{ #ifeq: {{{14|}}} |BL||{{ #ifeq: {{{16|}}} |BL||{{ #ifeq: {{{18|}}} |BL|| [[Category:VoteBL]] }} }} }} }} }} }} }} }} }}<!-- | ||
-->{{ #ifeq: {{{2|}}} |BF||{{ #ifeq: {{{4|}}} |BF||{{ #ifeq: {{{6|}}} |BF||{{ #ifeq: {{{8|}}} |BF||{{ #ifeq: {{{10|}}} |BF||{{ #ifeq: {{{12|}}} |BF||{{ #ifeq: {{{14|}}} |BF|| [[Category:VoteBF]] }} }} }} }} }} }} }}<!-- | -->{{ #ifeq: {{{2|}}} |BF||{{ #ifeq: {{{4|}}} |BF||{{ #ifeq: {{{6|}}} |BF||{{ #ifeq: {{{8|}}} |BF||{{ #ifeq: {{{10|}}} |BF||{{ #ifeq: {{{12|}}} |BF||{{ #ifeq: {{{14|}}} |BF||{{ #ifeq: {{{16|}}} |BF||{{ #ifeq: {{{18|}}} |BF|| [[Category:VoteBF]] }} }} }} }} }} }} }} }} }}<!-- | ||
-->{{ #ifeq: {{{2|}}} |FH||{{ #ifeq: {{{4|}}} |FH||{{ #ifeq: {{{6|}}} |FH||{{ #ifeq: {{{8|}}} |FH||{{ #ifeq: {{{10|}}} |FH||{{ #ifeq: {{{12|}}} |FH||{{ #ifeq: {{{14|}}} |FH|| [[Category:VoteFH]] }} }} }} }} }} }} }}<!-- | -->{{ #ifeq: {{{2|}}} |FH||{{ #ifeq: {{{4|}}} |FH||{{ #ifeq: {{{6|}}} |FH||{{ #ifeq: {{{8|}}} |FH||{{ #ifeq: {{{10|}}} |FH||{{ #ifeq: {{{12|}}} |FH||{{ #ifeq: {{{14|}}} |FH||{{ #ifeq: {{{16|}}} |FH||{{ #ifeq: {{{18|}}} |FH|| [[Category:VoteFH]] }} }} }} }} }} }} }} }} }}<!-- | ||
-->{{ #ifeq: {{{2|}}} |RJ||{{ #ifeq: {{{4|}}} |RJ||{{ #ifeq: {{{6|}}} |RJ||{{ #ifeq: {{{8|}}} |RJ||{{ #ifeq: {{{10|}}} |RJ||{{ #ifeq: {{{12|}}} |RJ||{{ #ifeq: {{{14|}}} |RJ|| [[Category:VoteRJ]] }} }} }} }} }} }} }}<!-- | -->{{ #ifeq: {{{2|}}} |RJ||{{ #ifeq: {{{4|}}} |RJ||{{ #ifeq: {{{6|}}} |RJ||{{ #ifeq: {{{8|}}} |RJ||{{ #ifeq: {{{10|}}} |RJ||{{ #ifeq: {{{12|}}} |RJ||{{ #ifeq: {{{14|}}} |RJ||{{ #ifeq: {{{16|}}} |RJ||{{ #ifeq: {{{18|}}} |RJ|| [[Category:VoteRJ]] }} }} }} }} }} }} }} }} }}<!-- | ||
-->{{ #ifeq: {{{2|}}} |MJ||{{ #ifeq: {{{4|}}} |MJ||{{ #ifeq: {{{6|}}} |MJ||{{ #ifeq: {{{8|}}} |MJ||{{ #ifeq: {{{10|}}} |MJ||{{ #ifeq: {{{12|}}} |MJ||{{ #ifeq: {{{14|}}} |MJ|| [[Category:VoteMJ]] }} }} }} }} }} }} }}<!-- | -->{{ #ifeq: {{{2|}}} |MJ||{{ #ifeq: {{{4|}}} |MJ||{{ #ifeq: {{{6|}}} |MJ||{{ #ifeq: {{{8|}}} |MJ||{{ #ifeq: {{{10|}}} |MJ||{{ #ifeq: {{{12|}}} |MJ||{{ #ifeq: {{{14|}}} |MJ||{{ #ifeq: {{{16|}}} |MJ||{{ #ifeq: {{{18|}}} |MJ|| [[Category:VoteMJ]] }} }} }} }} }} }} }} }} }}<!-- | ||
-->{{ #ifeq: {{{2|}}} |JH||{{ #ifeq: {{{4|}}} |JH||{{ #ifeq: {{{6|}}} |JH||{{ #ifeq: {{{8|}}} |JH||{{ #ifeq: {{{10|}}} |JH||{{ #ifeq: {{{12|}}} |JH||{{ #ifeq: {{{14|}}} |JH|| [[Category:VoteJH]] }} }} }} }} }} }} }}<!-- | -->{{ #ifeq: {{{2|}}} |JH||{{ #ifeq: {{{4|}}} |JH||{{ #ifeq: {{{6|}}} |JH||{{ #ifeq: {{{8|}}} |JH||{{ #ifeq: {{{10|}}} |JH||{{ #ifeq: {{{12|}}} |JH||{{ #ifeq: {{{14|}}} |JH||{{ #ifeq: {{{16|}}} |JH||{{ #ifeq: {{{18|}}} |JH|| [[Category:VoteJH]] }} }} }} }} }} }} }} }} }}<!-- | ||
-->{{ #ifeq: {{{2|}}} |ES||{{ #ifeq: {{{4|}}} |ES||{{ #ifeq: {{{6|}}} |ES||{{ #ifeq: {{{8|}}} |ES||{{ #ifeq: {{{10|}}} |ES||{{ #ifeq: {{{12|}}} |ES||{{ #ifeq: {{{14|}}} |ES|| [[Category:VoteES]] }} }} }} }} }} }} }}<!-- | -->{{ #ifeq: {{{2|}}} |ES||{{ #ifeq: {{{4|}}} |ES||{{ #ifeq: {{{6|}}} |ES||{{ #ifeq: {{{8|}}} |ES||{{ #ifeq: {{{10|}}} |ES||{{ #ifeq: {{{12|}}} |ES||{{ #ifeq: {{{14|}}} |ES||{{ #ifeq: {{{16|}}} |ES||{{ #ifeq: {{{18|}}} |ES|| [[Category:VoteES]] }} }} }} }} }} }} }} }} }}<!-- | ||
-->{{ #ifeq: {{{2|}}} |LS||{{ #ifeq: {{{4|}}} |LS||{{ #ifeq: {{{6|}}} |LS||{{ #ifeq: {{{8|}}} |LS||{{ #ifeq: {{{10|}}} |LS||{{ #ifeq: {{{12|}}} |LS||{{ #ifeq: {{{14|}}} |LS||{{ #ifeq: {{{16|}}} |LS||{{ #ifeq: {{{18|}}} |LS|| [[Category:VoteLS]] }} }} }} }} }} }} }} }} }}<!-- | |||
-->{{ #ifeq: {{{2|}}} |DC||{{ #ifeq: {{{4|}}} |DC||{{ #ifeq: {{{6|}}} |DC||{{ #ifeq: {{{8|}}} |DC||{{ #ifeq: {{{10|}}} |DC||{{ #ifeq: {{{12|}}} |DC||{{ #ifeq: {{{14|}}} |DC||{{ #ifeq: {{{16|}}} |DC||{{ #ifeq: {{{18|}}} |DC|| [[Category:VoteDC]] }} }} }} }} }} }} }} }} }}<!-- | |||
-->}} }} }}</div></includeonly><noinclude> | -->}} }} }}</div></includeonly><noinclude> | ||
Line 62: | Line 64: | ||
Set this to '''nocat''' if you don't want the template to add the page to any categories. | Set this to '''nocat''' if you don't want the template to add the page to any categories. | ||
{{Naeso}} | {{Naeso}} | ||
</noinclude> | </noinclude> |
Revision as of 08:28, 26 May 2011
Creates a vote, and adds the page to the Voting category.
Arguments
Example:
2011-4-19
Naeso does XY — 3/2 (BF,RJ,JH,/ES,FH,){{V|Naeso does XY|date=2011-4-19|BF|y|RJ|y|ES|n|JH|y|FH|n}}
{{{1}}}
The option voted on. In the example this is Naeso does XY
{{{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}}}
Set this to nocat if you don't want the template to add the page to any categories.
Naeso | |
---|---|
General: | Voting • Member list • An Introduction to Naeso |
Phonology and orthography: | Phonology • Stress • Orthography • Transliteration |
Grammar: | Grammar • Suffixes • Prepositions |
Lexicon and corpus: | Naeso-English • English-Naeso • Proposed words • Swadesh • Names • Corpus of Sentences • Math |
Conlang relay torches: | LCC4 Relay |
This template is part of the project Naeso. We meet up to discuss changes in 'real time' in #naeso on Freenode. |