Template:RD Person: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(64 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:#ffffff;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=#ffffff
|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:#ffffff;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:{{{roles|}}} | Roles }}</b>
| width="20%" |<b>{{#if:{{{role|}}} | Role(s) }}</b>
||{{#if:{{{roles|}}} | {{{roles}}} }}
||{{#if:{{{role|}}} | {{{role}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:13px"
| <b>{{#if:{{{affiliations|}}} | Affiliations }}</b>
| <b>{{#if:{{{affiliation|}}} | Affiliation(s) }}</b>
||{{#if:{{{affiliations|}}} | {{{affiliations}}} }}
||{{#if:{{{affiliation|}}} | {{{affiliation}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:13px"
| <b>{{#if:{{{colabs|}}} | Co-Labs }}</b>
| <b>{{#if:{{{colab|}}} | Co-Lab(s) }}</b>
||{{#if:{{{colabs|}}} | {{{colabs}}} }}
||{{#if:{{{colab|}}} | {{{colab}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:13px; line-height: 1.0em;"
| <b>{{#if:{{{education|}}} | Education }}</b>
| <b>{{#if:{{{education|}}} | Education }}</b>
||{{#if:{{{education|}}} | {{{education}}} }}
||{{#if:{{{education|}}} | {{{education}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:13px; line-height: 1.0em;"
| <b>{{#if:{{{achievements|}}} | Achievements }}</b>
| <b>{{#if:{{{achievements|}}} | Achievements }}</b>
||{{#if:{{{achievements|}}} | {{{achievements}}} }}
||{{#if:{{{achievements|}}} | {{{achievements}}} }}
|- valign="top" style="font-size:11px"
|- valign="top" style="font-size:13px"
| <b>{{#if:{{{links|}}} | Links }}</b>
| <b>{{#if:{{{links|}}} | Links }}</b>
||{{#if:{{{links|}}} | {{{links}}} }}
||{{#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 32: 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               
       |roles=write the Roles    <!-- if a variable left empty e.g "roles=" or not used    at all then it will not appear on the template -->
      |image=Andreas_wiki.jpg
       |affiliations=write the Affiliations
      |name=Drakos Andreas
       |colabs=write the Co-Labs
      |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
       |education=write the Education
       |achievements=write the Achievements
       |achievements=write the Achievements
       |links=write the Links
       |links=write the Links
      |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]]

Navigation menu