The wiki has recently been updated. Please contact me by talk page or email if you encounter any issues.

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}} ) &gt; ({{V/Majority}} / 2) | 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}} ) &gt; ({{V/Majority}} / 2) | 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}} ) &gt; ({{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}} ) &gt; ({{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}}} — {{ #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}} }}/{{ #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}} }} <!--


Who voted yes?
Who voted yes?
Line 23: Line 23:
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}} = 0 |0|}})}}<!--


categories:
categories:

Revision as of 16:30, 19 April 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.

Voting tags

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

Naeso
General:VotingMember listAn Introduction to Naeso
Phonology and orthography:PhonologyStressOrthographyTransliteration
Grammar:GrammarSuffixesPrepositions
Lexicon and corpus:Naeso-EnglishEnglish-NaesoProposed wordsSwadeshNamesCorpus of SentencesMath
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.