From PPI
Jump to: navigation, search
m (Update)
m (Update)
Line 1: Line 1:
<noinclude>
<noinclude>
{{RCBox-red|This template is obsolete with this version of the wiki, use instead :
* [[Template:RCBox-green]] for vote YES (approved)
* [[Template:RCBox-red]] for vote NO (rejected)
* [[Template:RCBox-black]] for vote adjourned/not voted
}}
{{:Template:Motion/Doc}}
{{:Template:Motion/Doc}}
== Code ==
== Code ==
<pre>
<pre>

Revision as of 20:47, 21 December 2018


This template is obsolete with this version of the wiki, use instead :
source : https://wiki.partipirate.org/Mod%C3%A8le:Motion

Motion Model

This template is used for meeting minutes on motions taken with or without a vote.

Use

Simple motion

{{{Motion|number=number of the motion (optional)|title=Title the motion (optional)|text=
Text of the motion. Line breaks should be replaced by <br/>>. The classic wiki syntax applies.

|voteYES= List of users
|voteNO= List of users
|voteAbstain= List of users
Lists users with or without wiki syntax

|Close=Closing sentence of the motion (optional)
|Result=Outcome of the motion: 
* voteYES (approved)
* voteNO (rejected)
* undef (adjourned/not voted)
}}

Motion multiple

{{{Motion|number=number of the motion (optional)|title=Title the motion (optional)|text=
Text of the motion. Line breaks should be replaced by <br/>>. The classic wiki syntax applies.

|vote=<span class="pour"><span>Option a :</span> List of users</span>
<span class="voteYES"><span>Option b :</span> List of users</span>
<span class="voteYES"><span>Option c :</span> List of users</span>
<span class="voteNO"><span>voteNO :</span> List of users</span>
|Abstain=
Lists users with or without wiki syntax

|Close=Closing sentence of the motion (optional)
|Result=Outcome of the motion: 
* voteYES (approved)
* voteNO (rejected)
* undef (adjourned/not voted)
}}

Rendering test

Simple motion

Motion 1 : This is a motion test

It was decided to use this wiki template for all motions at our meetings. It is decreed that this is really very pleasant and that as such, we undertake to cut off the head of the session secretary who would not use it.
>
This decision may only be challenged after the sentence has been carried out and the accused has been heard.

{{#if:voteYES|

{{#if:| | vote YES : Pirate001, Pirate002 vote NO : Aucun |}} vote Abstain : Aucun

|}} {{#if:|

{{{close}}}

|}}


{{Motion|number=1|title=This is a motion test|text=
It was decided to use this wiki template for all motions at our meetings. It is decreed that this is really very pleasant and that as such, we undertake to cut off the head of the session secretary who would not use it.
<br/>><br/>
This decision may only be challenged after the sentence has been carried out and the accused has been heard. 


|voteYES=Pirate001, Pirate002
|VoteNO=
|VoteAbstain=

|Close=The motion is adopted by the majority present or represented. Pirate001 December 16, 2012 at 15:31 (CET)
|result=voteYES
}}

Multiple motion

Motion 1 : This is a motion test

It was decided to use this wiki template for all motions at our meetings. It is decreed that this is really very pleasant and that as such, we undertake to torture the secretary of the meeting who would not use it.
>
This decision may only be challenged after the sentence has been carried out and the accused has been heard.

  • Option a: Cut off the head
  • Option b: Dispartmentalize
  • Option c: Hang

{{#if:voteYES|

{{#if:Option a : Pirate001, Pirate002 Option b : Pirate001 Option c : Aucun voteNO : Aucun| Option a : Pirate001, Pirate002 Option b : Pirate001 Option c : Aucun voteNO : Aucun | vote YES : Aucun vote NO : Aucun |}} vote Abstain :

|}} {{#if:|

{{{close}}}

|}}


 
{{Motion|number=1|title=This is a motion test|text= 
It was decided to use this wiki template for all motions at our meetings.  It is decreed that this is really very pleasant and that as such, we undertake to torture the secretary of the meeting who would not use it. 
<br/>><br/> 
This decision may only be challenged after the sentence has been carried out and the accused has been heard. 

* Option a: Cut off the head 
* Option b: Dispartmentalize 
* Option c: Hang 


|vote=<span class="voteYES"><span>Option a : </span> Pirate001, Pirate002</span> 
<span class="voteYES"><span>Option b :</span> Pirate003</span> 
<span class="voteYES"><span>Option c:</span> {{{{voteYES|<i>None</i>}}}</span> 
<span class="voteNO"><span>voteNO :</span> {{{{voteNO||<i>Aucun</i>}}}</span> 
|nspp= 

|Close=The motion is adopted by the majority present or represented, and the sanction chosen and the head cutting.  Pirate001 December 16, 2012 at 15:31 (CET) 
|result=voteYES 
}} 


Code

</noinclude>
<div class="motion-{{{result|undef}}}">
	<p class="title">Motion {{{number|}}} : {{{title|}}}</p>
	<p class="content">{{{text|}}}</p>
	{{#if:{{{result|}}}|
		<p class="vote">
			{{#if:{{{vote|}}}|
				{{{vote|}}}
			|
				<span class="voteYES"><span>vote YES :</span> {{{voteYES|<i>Aucun</i>}}}</span>
				<span class="voteNO"><span>vote NO :</span> {{{voteNO|<i>Aucun</i>}}}</span>
			|}}
			<span class="voteAbstain"><span>vote Abstain :</span> {{{voteAbstain|<i>Aucun</i>}}}</span>
		</p>
	|}}
	{{#if:{{{close|}}}|
		<p class="close">{{{close}}}</p>
	|}}
</div>

<noinclude>