Template:V: Difference between revisions
From FrathWiki
Jump to navigationJump to search
(Created page with "<includeonly>{{{1}}} - {{ #expr: {{ #ifeq: {{{BL|}}} | y |1|0}} + {{ #ifeq: {{{BF|}}} | y |1|0}} + {{ #ifeq: {{{FH|}}} | y |1|0}} + {{ #ifeq: {{{RJ|}}} | y |1|0}} + {{ #ifeq: {{{...") |
No edit summary |
||
(36 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <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}} + {{ #ifeq: {{{21|}}} | y | 1|0}} ) >= {{V/Majority}}) 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}} + {{ #ifeq: {{{21|}}} | n |1|0}} ) >= {{V/Majority}}) or {{ #ifeq: {{{result|}}} | n |1|0}} | border: 1px solid #f00; background-color: #fa8; | border: 1px solid #00f; background-color: #bef; }} }} "><!-- | ||
starting date | |||
--><div style="float: right; margin-left: 10px">{{{date|{{{Date|}}}}}}</div><!-- | |||
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}} + {{ #ifeq: {{{17|}}} | y | 1|0}} + {{ #ifeq: {{{19|}}} | y | 1|0}} + {{ #ifeq: {{{21|}}} | 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}} + {{ #ifeq: {{{21|}}} | n |1|0}} }} <!-- | |||
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: {{{17|}}} | y |{{{16}}},|}}{{ #ifeq: {{{19|}}} | y |{{{18}}},|}}{{ #ifeq: {{{21|}}} | y |{{{20}}},|}}<!-- | |||
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}} + {{ #ifeq: {{{17|}}} | y |1|0}} + {{ #ifeq: {{{19|}}} | y |1|0}} + {{ #ifeq: {{{21|}}} | y |1|0}} = 0 |0|}}/<!-- | |||
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: {{{17|}}} | n |{{{16}}},|}}{{ #ifeq: {{{19|}}} | n |{{{18}}},|}}{{ #ifeq: {{{21|}}} | n |{{{20}}},|}}<!-- | |||
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}} + {{ #ifeq: {{{17|}}} | n |1|0}} + {{ #ifeq: {{{19|}}} | n |1|0}} + {{ #ifeq: {{{21|}}} | n |1|0}} = 0 |0|}})}}<!-- | |||
categories: | |||
-->{{ #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||{{ #ifeq: {{{16|}}} |BL||{{ #ifeq: {{{18|}}} |BL||{{ #ifeq: {{{20|}}} |BL|| [[Category:VoteBL]] }} }} }} }} }} }} }} }} }} }}<!-- | |||
-->{{ #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||{{ #ifeq: {{{20|}}} |BF|| [[Category:VoteBF]] }} }} }} }} }} }} }} }} }} }}<!-- | |||
-->{{ #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||{{ #ifeq: {{{20|}}} |FH|| [[Category:VoteFH]] }} }} }} }} }} }} }} }} }} }}<!-- | |||
-->{{ #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||{{ #ifeq: {{{20|}}} |RJ|| [[Category:VoteRJ]] }} }} }} }} }} }} }} }} }} }}<!-- | |||
-->{{ #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||{{ #ifeq: {{{20|}}} |MJ|| [[Category:VoteMJ]] }} }} }} }} }} }} }} }} }} }}<!-- | |||
-->{{ #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||{{ #ifeq: {{{20|}}} |JH|| [[Category:VoteJH]] }} }} }} }} }} }} }} }} }} }}<!-- | |||
-->{{ #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||{{ #ifeq: {{{20|}}} |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||{{ #ifeq: {{{20|}}} |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||{{ #ifeq: {{{20|}}} |DC|| [[Category:VoteDC]] }} }} }} }} }} }} }} }} }} }}<!-- | |||
-->{{ #ifeq: {{{2|}}} |MM||{{ #ifeq: {{{4|}}} |MM||{{ #ifeq: {{{6|}}} |MM||{{ #ifeq: {{{8|}}} |MM||{{ #ifeq: {{{10|}}} |MM||{{ #ifeq: {{{12|}}} |MM||{{ #ifeq: {{{14|}}} |MM||{{ #ifeq: {{{16|}}} |MM||{{ #ifeq: {{{18|}}} |MM||{{ #ifeq: {{{20|}}} |MM|| [[Category:VoteMM]] }} }} }} }} }} }} }} }} }} }}<!-- | |||
-->}} }} }}</div></includeonly><noinclude> | |||
Creates a vote, and adds the page to the [[:Category:Voting|Voting category]]. | |||
==Arguments== | ==Arguments== | ||
Examples: | |||
{{V|Naeso does A|date=2011-4-19|BF|y|ES|n|o=nocat}} | |||
<pre> | |||
{{V|Naeso does A|date=2011-4-19|BF|y|ES|n}} | |||
</pre> | |||
{{V|Naeso does B|date=2011-4-19|BL|y|BF|y|DC|y|ES|y|FH|y|JH|y|MM|y|RJ|y|LS|y|MJ|y|o=nocat}} | |||
<pre> | |||
{{V|Naeso does B|date=2011-4-19|BL|y|BF|y|DC|y|ES|y|FH|y|JH|y|MM|y|RJ|y|LS|y|MJ|y}} | |||
</pre> | |||
{{V|Naeso does C|date=2011-4-19|BL|n|BF|n|DC|n|ES|n|FH|n|JH|n|MM|n|RJ|n|LS|n|MJ|n|o=nocat}} | |||
<pre> | |||
{{V|Naeso does C|date=2011-4-19|BL|n|BF|n|DC|n|ES|n|FH|n|JH|n|MM|n|RJ|n|LS|n|MJ|n}} | |||
</pre> | |||
{{V|Naeso does D|result=y|o=nocat}} | |||
<pre> | |||
{{V|Naeso does D|result=y}} | |||
</pre> | |||
{{V|Naeso does E|result=n|o=nocat}} | |||
<pre> | <pre> | ||
{{V| | {{V|Naeso does E|result=n}} | ||
</pre> | </pre> | ||
==={{{1}}}=== | ==={{{1}}}=== | ||
The option voted on. In the example this is '' | The option voted on. In the example this is ''Naeso does XY'' | ||
===ynm=== | ==={{{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. | 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. | ||
Line 21: | Line 86: | ||
'''''Currently not implemented''''' | '''''Currently not implemented''''' | ||
=== | ==={{{o}}}=== | ||
Set this to '''nocat''' if you don't want the vote to add the page to any categories. | |||
{{Naeso}} | |||
</noinclude> | </noinclude> |
Latest revision as of 06:17, 21 June 2011
Creates a vote, and adds the page to the Voting category.
Arguments
Examples:
2011-4-19
Naeso does A — 1/1 (BF,/ES,){{V|Naeso does A|date=2011-4-19|BF|y|ES|n}}
2011-4-19
Naeso does B — 10/0 (BL,BF,DC,ES,FH,JH,MM,RJ,LS,MJ,/0){{V|Naeso does B|date=2011-4-19|BL|y|BF|y|DC|y|ES|y|FH|y|JH|y|MM|y|RJ|y|LS|y|MJ|y}}
2011-4-19
Naeso does C — 0/10 (0/BL,BF,DC,ES,FH,JH,MM,RJ,LS,MJ,){{V|Naeso does C|date=2011-4-19|BL|n|BF|n|DC|n|ES|n|FH|n|JH|n|MM|n|RJ|n|LS|n|MJ|n}}
Naeso does D — VOTED IN
{{V|Naeso does D|result=y}}
Naeso does E — VOTED OUT
{{V|Naeso does E|result=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 vote 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. |