Template:RD Person: Difference between revisions

From Reinvent Democracy
Jump to navigation Jump to search
(Created page with "{| width="285" style="margin:5px 0px 5px 10px;float:right;clear:right;border:1px solid #ccc;background-color:#81e581;line-height:1.5em;word-spacing:0.5px;" | {{#if:{{{image|}}...")
 
No edit summary
 
(67 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| width="285" style="margin:5px 0px 5px 10px;float:right;clear:right;border:1px solid #ccc;background-color:#81e581;line-height:1.5em;word-spacing:0.5px;"
{| width="285" style="margin:5px 0px 5px 10px;float:right;clear:right;border:1px solid #ccc;background-color:#ffffff;line-height:1.0em;word-spacing:0.5px;"
|
|
{{#if:{{{image|}}} | {{Person
{{#if:{{{image|}}} | {{TestPerson
|color=#81e581
|color=#ffffff
|topimage={{{topimage}}}
|image={{{image}}}
|image={{{image}}}
|title={{{title}}}
|name={{{name}}}
|name={{{name}}}
|motto={{{motto}}}
}} }}
}} }}
{| border="0" width="100%" cellspacing="5" style="background-color:#81e581;padding:0px"
{| border="0" width="100%" cellspacing="5" style="background-color:#ffffff;padding:0px"
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:13px"
| width="20%" |<b>{{#if:{{{period|}}} | Years of service }}</b>
| width="20%" |<b>{{#if:{{{role|}}} | Role(s) }}</b>
||{{#if:{{{period|}}} | {{{period}}} }}
||{{#if:{{{role|}}} | {{{role}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:13px"
| <b>{{#if:{{{service|}}} | Service type }}</b>
| <b>{{#if:{{{affiliation|}}} | Affiliation(s) }}</b>
||{{#if:{{{service|}}} | {{{service}}} }}
||{{#if:{{{affiliation|}}} | {{{affiliation}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:13px"
| <b>{{#if:{{{previous_posts|}}} | Previous Key Posts }}</b>
| <b>{{#if:{{{colab|}}} | Co-Lab(s) }}</b>
||{{#if:{{{previous_posts|}}} | {{{previous_posts}}} }}
||{{#if:{{{colab|}}} | {{{colab}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:13px; line-height: 1.0em;"
| <b>{{#if:{{{current_post|}}} | Current Post }}</b>
| <b>{{#if:{{{education|}}} | Education }}</b>
||{{#if:{{{current_post|}}} | {{{current_post}}} }}
||{{#if:{{{education|}}} | {{{education}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:13px; line-height: 1.0em;"
| <b>{{#if:{{{degrees|}}} | Degree(s) }}</b>
| <b>{{#if:{{{achievements|}}} | Achievements }}</b>
||{{#if:{{{degrees|}}} | {{{degrees}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{fields|}}} | Field(s) of Study }}</b>
||{{#if:{{{fields|}}} | {{{fields}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{universities|}}} | University(ies) }}</b>
||{{#if:{{{universities|}}} | {{{universities}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{specializations|}}} | Specialization(s) }}</b>
||{{#if:{{{specializations|}}} | {{{specializations}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{socioacademic|}}} | Social/Academic }}</b>
||{{#if:{{{socioacademic|}}} | {{{socioacademic}}} }}
|- valign="top" style="font-size:11px"
| <b>{{#if:{{{achievements|}}} | Notable Achievements }}</b>
||{{#if:{{{achievements|}}} | {{{achievements}}} }}
||{{#if:{{{achievements|}}} | {{{achievements}}} }}
|- valign="top" style="font-size:13px"
| <b>{{#if:{{{links|}}} | Links }}</b>
||{{#if:{{{links|}}} | {{{links}}} }}
|}
{| border="0" width="100%" cellspacing="5" style="background-color:#ffffff;padding:0px"
|- valign="top" style="font-size:13px"
| width="1%" | <b>{{#if:{{{initiative|}}} |  }}</b>
||{{#if:{{{initiative|}}} | {{{initiative}}} }}
|}
|}
|}
|}
Line 44: Line 40:
==EXAMPLE ON HOW TO USE THE TEMPLATE==
==EXAMPLE ON HOW TO USE THE TEMPLATE==


{{Test                                          <!-- The name of the template -->
{{RD_Person   
      |name=Member's name                    <!-- Append to variable name the content "Elia Petridou" -->
      |topimage=Rd_house_logo.jpg                                     
|image=Andreas_wiki.jpg     <!-- You can replace all the template's variables with the                                                                                                                                                                                                                                         appropriate content-->
      |title=Core Participant               
       |period=write the years of service    <!-- if a variable left empty e.g "period=" or not used    at all then it will not appear on the template -->
      |image=Andreas_wiki.jpg
       |service=write the service type
      |name=Drakos Andreas
       |previous_posts=write previous post(s) of the board member
      |motto=The right to govern must be earned 
       |current_post=write the current post of the b.m.
      |role=write the Roles   
       |degrees=write the degree(s) of the b.m.
      |affiliation=write the Affiliations
       |fields=write the field(s) of study of the b.m.
       |colab=write the Co-Labs
       |universities=write the university/ies of the b.m.
      |education=write the Education
       |specializations=write the specialization(s) of the b.m.
       |achievements=write the Achievements
       |socioacademic=write the Social/Academic info of the b.m.
       |links=write the Links
       |achievements=write the notable achievements of the b.m.
       |initiative={{European_Initiative}}
}}
 
Copy and paste the code below to the page you wish to add a Board Member box such as this one:
<pre>
{{RD_Person                                         
      {{RD_Person   
      |topimage=Rd_house_logo.jpg                                     
      |title=Core Participant               
      |image=Andreas_wiki.jpg 
      |name=Drakos Andreas
      |motto=The right to govern must be earned 
       |role=write the Roles   
       |affiliation=write the Affiliations
       |colab=write the Co-Labs
       |education=write the Education
       |achievements=write the Achievements
       |links=write the Links
      |initiative=Choose the Initiative
}}
}}
</pre>
[[Category:RD_Templates]]

Latest revision as of 08:51, 1 July 2017




EXAMPLE ON HOW TO USE THE TEMPLATE

Rd house logo.jpg
Core Participant
Core Participant
Drakos Andreas
The right to govern must be earned
Role(s) write the Roles
Affiliation(s) write the Affiliations
Co-Lab(s) write the Co-Labs
Education write the Education
Achievements write the Achievements
Links write the Links
European minicon.jpg European Initiative


Copy and paste the code below to the page you wish to add a Board Member box such as this one:

{{RD_Person                                          
       {{RD_Person    
       |topimage=Rd_house_logo.jpg                                      
       |title=Core Participant                 
       |image=Andreas_wiki.jpg  
       |name=Drakos Andreas
       |motto=The right to govern must be earned  
       |role=write the Roles    
       |affiliation=write the Affiliations
       |colab=write the Co-Labs
       |education=write the Education
       |achievements=write the Achievements
       |links=write the Links
       |initiative=Choose the Initiative
}}