Difference between revisions of "Template:RBE10K Team MyMembers"

From MediaWiki
Jump to: navigation, search
(Using the new RBE10K_TableRow_3 template)
(Using new flexible template RBE10K_TableRows)
Line 1: Line 1:
{{RBE10K_TableRow_3|Name|User|Activities|header=1}}
+
{{RBE10K_TableRows|Name|User|Activities|header=1}}
 
<repeat table="RBE10K_Team_Members" criteria="_SourceArticle={{FULLPAGENAME}}" sort="Name">
 
<repeat table="RBE10K_Team_Members" criteria="_SourceArticle={{FULLPAGENAME}}" sort="Name">
{{RBE10K_TableRow_3|{{wdbvar|{{{Name}}}}} | {{wdbvar|{{{User}}}}} | {{wdbvar|{{{Activities}}}}}}}
+
{{RBE10K_TableRows|{{wdbvar|{{{Name}}}}} | {{wdbvar|{{{User}}}}} | {{wdbvar|{{{Activities}}}}}}}
 
</repeat>
 
</repeat>

Revision as of 19:03, 5 March 2013

{{#css:Template:RBE10K TableRows/css}}{{#css:

 	.col1 {width:{{#if:|{{#explode:{{{widths}}}| |0}}|{{#switch:{{#ifeq: x | | 0 |
 {{#ifeq: x | | 1 |
    {{#ifeq: Activities | | 2 |
       {{#ifeq:  | | 3 |
         {{#ifeq:  | | 4 | 
           {{#ifeq:   | | 5 |
             {{#ifeq:   | | 6 |
               {{#ifeq:   | | 7 |
                {{#ifeq:   | | 8 | 9
                 }}
               }}
             }}
           }}
         }}
       }}
    }}
 }}

}}|2=20|3=15|4=12|5=10}}}}%; } .col2 {width:{{#if:|{{#explode:{{{widths}}}| |1}}|{{#switch:{{#ifeq: x | | 0 |

 {{#ifeq: x | | 1 |
    {{#ifeq: Activities | | 2 |
       {{#ifeq:  | | 3 |
         {{#ifeq:  | | 4 | 
           {{#ifeq:   | | 5 |
             {{#ifeq:   | | 6 |
               {{#ifeq:   | | 7 |
                {{#ifeq:   | | 8 | 9
                 }}
               }}
             }}
           }}
         }}
       }}
    }}
 }}

}}|2=80|3={{#if:|70|15}}|4=12|5=10}}}}%; } .col3 {width:{{#if:|{{#explode:{{{widths}}}| |2}}|{{#switch:{{#ifeq: x | | 0 |

 {{#ifeq: x | | 1 |
    {{#ifeq: x | | 2 |
       {{#ifeq:  | | 3 |
         {{#ifeq:  | | 4 | 
           {{#ifeq:   | | 5 |
             {{#ifeq:   | | 6 |
               {{#ifeq:   | | 7 |
                {{#ifeq:   | | 8 | 9
                 }}
               }}
             }}
           }}
         }}
       }}
    }}
 }}

}}|3=70|4={{#if:|64|12}}|5=10}}}}%; } .col4 {width:{{#if:|{{#explode:{{{widths}}}| |3}}|{{#switch:{{#ifeq: x | | 0 |

 {{#ifeq: x | | 1 |
    {{#ifeq: x | | 2 |
       {{#ifeq: x | | 3 |
         {{#ifeq:  | | 4 | 
           {{#ifeq:   | | 5 |
             {{#ifeq:   | | 6 |
               {{#ifeq:   | | 7 |
                {{#ifeq:   | | 8 | 9
                 }}
               }}
             }}
           }}
         }}
       }}
    }}
 }}

}}|4=64|5=10}}}}%; } .col5 {width:{{#if:|{{#explode:{{{widths}}}| |4}}|60}}%; } .col6 {width:{{#explode:{{{widths}}}| |5}}%; } .col7 {width:{{#explode:{{{widths}}}| |6}}%; } .col8 {width:{{#explode:{{{widths}}}| |7}}%; } .col9 {width:{{#explode:{{{widths}}}| |8}}%; }

}}
{{#if:1|Name|Name}}
{{#if:1|User|User}}
{{#ifeq:Activities|Activities|
{{#if:1|Activities|Activities}}
| }}{{#ifeq:|-|
{{#if:1|'''''|}}
| }}{{#ifeq:|-|
{{#if:1|'''''|}}
| }}{{#ifeq:|-|
{{#if:1|'''''|}}
| }}{{#ifeq:|-|
{{#if:1|'''''|}}
| }}{{#ifeq:|-|
{{#if:1|'''''|}}
| }}{{#ifeq:|-|
{{#if:1|'''''|}}
| }}

<repeat table="RBE10K_Team_Members" criteria="_SourceArticle=Template:RBE10K Team MyMembers" sort="Name"> {{#css:Template:RBE10K TableRows/css}}{{#css:

 	.col1 {width:{{#if:|{{#explode:{{{widths}}}| |0}}|{{#switch:{{#ifeq: x | | 0 |
 {{#ifeq: x | | 1 |
    {{#ifeq:  {{#replaceset:{{{Activities}}}|/^{{{(\w+)}}}$/i=}} | | 2 |
       {{#ifeq:  | | 3 |
         {{#ifeq:  | | 4 | 
           {{#ifeq:   | | 5 |
             {{#ifeq:   | | 6 |
               {{#ifeq:   | | 7 |
                {{#ifeq:   | | 8 | 9
                 }}
               }}
             }}
           }}
         }}
       }}
    }}
 }}

}}|2=20|3=15|4=12|5=10}}}}%; } .col2 {width:{{#if:|{{#explode:{{{widths}}}| |1}}|{{#switch:{{#ifeq: x | | 0 |

 {{#ifeq: x | | 1 |
    {{#ifeq:  {{#replaceset:{{{Activities}}}|/^{{{(\w+)}}}$/i=}} | | 2 |
       {{#ifeq:  | | 3 |
         {{#ifeq:  | | 4 | 
           {{#ifeq:   | | 5 |
             {{#ifeq:   | | 6 |
               {{#ifeq:   | | 7 |
                {{#ifeq:   | | 8 | 9
                 }}
               }}
             }}
           }}
         }}
       }}
    }}
 }}

}}|2=80|3={{#if:|70|15}}|4=12|5=10}}}}%; } .col3 {width:{{#if:|{{#explode:{{{widths}}}| |2}}|{{#switch:{{#ifeq: x | | 0 |

 {{#ifeq: x | | 1 |
    {{#ifeq: x | | 2 |
       {{#ifeq:  | | 3 |
         {{#ifeq:  | | 4 | 
           {{#ifeq:   | | 5 |
             {{#ifeq:   | | 6 |
               {{#ifeq:   | | 7 |
                {{#ifeq:   | | 8 | 9
                 }}
               }}
             }}
           }}
         }}
       }}
    }}
 }}

}}|3=70|4={{#if:|64|12}}|5=10}}}}%; } .col4 {width:{{#if:|{{#explode:{{{widths}}}| |3}}|{{#switch:{{#ifeq: x | | 0 |

 {{#ifeq: x | | 1 |
    {{#ifeq: x | | 2 |
       {{#ifeq: x | | 3 |
         {{#ifeq:  | | 4 | 
           {{#ifeq:   | | 5 |
             {{#ifeq:   | | 6 |
               {{#ifeq:   | | 7 |
                {{#ifeq:   | | 8 | 9
                 }}
               }}
             }}
           }}
         }}
       }}
    }}
 }}

}}|4=64|5=10}}}}%; } .col5 {width:{{#if:|{{#explode:{{{widths}}}| |4}}|60}}%; } .col6 {width:{{#explode:{{{widths}}}| |5}}%; } .col7 {width:{{#explode:{{{widths}}}| |6}}%; } .col8 {width:{{#explode:{{{widths}}}| |7}}%; } .col9 {width:{{#explode:{{{widths}}}| |8}}%; }

}}
{{#if:|{{#replaceset:{{{Name}}}|/^{{{(\w+)}}}$/i=}} |{{#replaceset:{{{Name}}}|/^{{{(\w+)}}}$/i=}} }}
{{#if:| {{#replaceset:{{{User}}}|/^{{{(\w+)}}}$/i=}} | {{#replaceset:{{{User}}}|/^{{{(\w+)}}}$/i=}} }}
{{#ifeq: {{#replaceset:{{{Activities}}}|/^{{{(\w+)}}}$/i=}}| {{#replaceset:{{{Activities}}}|/^{{{(\w+)}}}$/i=}}|
{{#if:| {{#replaceset:{{{Activities}}}|/^{{{(\w+)}}}$/i=}}| {{#replaceset:{{{Activities}}}|/^{{{(\w+)}}}$/i=}}}}
| }}{{#ifeq:|-|
{{#if:|'''''|}}
| }}{{#ifeq:|-|
{{#if:|'''''|}}
| }}{{#ifeq:|-|
{{#if:|'''''|}}
| }}{{#ifeq:|-|
{{#if:|'''''|}}
| }}{{#ifeq:|-|
{{#if:|'''''|}}
| }}{{#ifeq:|-|
{{#if:|'''''|}}
| }}

</repeat>

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox