Difference between revisions of "Template:CrewHeader"
(Created page with "<!-- WELCOME --> {| style="width: 100%; text-align:center; background:white; color:black; border:2px solid #7e7e7e; margin: 0px; font-size:200%; border-radius:5p...") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <noinclude> |
− | + | == Usage == | |
− | |||
− | |||
− | {{ | + | <nowiki>{{CrewHeader |
+ | |welcome=Welcome to the wiki of | ||
+ | |logo=[[File:Fond-2.jpg|thumb|upright=3|center]] | ||
+ | |title=An awesome Crew | ||
+ | |pirateparty=https://pirateparty.be | ||
+ | |row1col1=[https://pirateparty.be/calendar Agenda] | ||
+ | |row1col2=[https://www.loomio.org Loomio] | ||
+ | |row1col3=[https://pirateparty.be Website] | ||
+ | |row2col1=[[#Projects| Current Projects]] | ||
+ | |row2col2=[[#Meetings| Meetings Minutes]] | ||
+ | |row2col3=[[#To Do| To Do List]] | ||
+ | }}</nowiki> | ||
− | + | == Example == | |
− | + | {{CrewHeader | |
+ | |welcome=Welcome to the wiki of | ||
+ | |logo=[[File:Fond-2.jpg|thumb|upright=3|center]] | ||
+ | |title=An awesome Crew | ||
+ | |pirateparty=https://pirateparty.be | ||
+ | |row1col1=[https://pirateparty.be/calendar Agenda] | ||
+ | |row1col2=[https://www.loomio.org Loomio] | ||
+ | |row1col3=[https://pirateparty.be Website] | ||
+ | |row2col1=[[#Projects| Current Projects]] | ||
+ | |row2col2=[[#Meetings| Meetings Minutes]] | ||
+ | |row2col3=[[#To Do| To Do List]] | ||
+ | }} | ||
− | + | |} | |
− | + | </noinclude><includeonly><!-- WELCOME --> | |
− | <!-- Agenda, | + | {| style="width: 100%; text-align:center; background:white; color:black; border:2px solid #7e7e7e; margin: 0px; font-size:200%; border-radius:5px; padding:5px;" |
− | {| style="width: 100%; text-align: center; background: #e6e6e6; color: black; border: 2px solid #7e7e7e; margin: 0.25em 0 0 0; font-weight: bold; font-size:125%; padding:5px; border-radius:5px;" | + | |- |
− | + | {{#if: {{{welcome|}}} | |
− | + | | {{!}} {{{welcome}}} | |
− | + | {{!}}- }} | |
− | + | {{#if: {{{logo|}}} | |
− | + | | {{!}} {{{logo}}} | |
− | + | {{!}}- }} | |
− | <!-- Current Projects, Meetings, To do List --> | + | {{#if: {{{title|}}} |
− | {| style="width: 100%; text-align: center; background: #e6e6e6; color: black; border: 2px solid #7e7e7e; margin: 0.25em 0 0 0; font-weight: bold; font-size:125%; padding:5px; border-radius:5px;" | + | | {{!}} {{#if: {{{pirateparty|}}} |
− | + | | [{{{pirateparty}}} {{{title}}}] | |
− | + | | {{{title}}} | |
− | + | }} | |
− | + | }} | |
− | + | |} <!-- Agenda, Loomio, Site --> | |
+ | {{#ifeq: {{{row1col1|}}}{{{row1col2|}}}{{{row1col3|}}} | | ||
+ | | | ||
+ | | {{{!}} style="width: 100%; text-align: center; background: #e6e6e6; color: black; border: 2px solid #7e7e7e; margin: 0.25em 0 0 0; font-weight: bold; font-size:125%; padding:5px; border-radius:5px;" | ||
+ | {{!}} style="width: 33%;" {{!}} {{{row1col1|}}} | ||
+ | {{!}} style="width: 33%;" {{!}} {{{row1col2|}}} | ||
+ | {{!}} style="width: 33%;" {{!}} {{{row1col3|}}} | ||
+ | {{!}}} | ||
+ | }} <!-- Current Projects, Meetings, To do List --> | ||
+ | {{#ifeq: {{{row2col1|}}}{{{row2col2|}}}{{{row2col3|}}} | | ||
+ | | | ||
+ | | {{{!}} style="width: 100%; text-align: center; background: #e6e6e6; color: black; border: 2px solid #7e7e7e; margin: 0.25em 0 0 0; font-weight: bold; font-size:125%; padding:5px; border-radius:5px;" | ||
+ | {{!}} style="width: 33%" {{!}} {{{row2col1|}}} | ||
+ | {{!}} style="width: 33%" {{!}} {{{row2col2|}}} | ||
+ | {{!}} style="width: 33%" {{!}} {{{row2col3|}}} | ||
+ | {{!}}} | ||
+ | }} | ||
+ | {|style="border:2px solid #7e7e7e; margin: 0.25em 0 0 0; font-size:100%; border-radius:5px; padding:5px;" width="100%" | ||
+ | |- | ||
+ | | | ||
+ | </includeonly> |
Latest revision as of 09:57, 27 February 2017
Usage
{{CrewHeader |welcome=Welcome to the wiki of |logo=[[File:Fond-2.jpg|thumb|upright=3|center]] |title=An awesome Crew |pirateparty=https://pirateparty.be |row1col1=[https://pirateparty.be/calendar Agenda] |row1col2=[https://www.loomio.org Loomio] |row1col3=[https://pirateparty.be Website] |row2col1=[[#Projects| Current Projects]] |row2col2=[[#Meetings| Meetings Minutes]] |row2col3=[[#To Do| To Do List]] }}
Example
Welcome to the wiki of |
An awesome Crew |
Agenda | Loomio | Website |
Current Projects | Meetings Minutes | To Do List |
|