Difference between revisions of "Template:CrewHeader"

From Pirate Party Belgium
Jump to: navigation, search
(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...")
 
(usage + update default values for cell parameters)
Line 1: Line 1:
<!--        WELCOME        -->
+
<noinclude>
 +
== Usage ==
 +
 
 +
<nowiki>{{CrewHeader
 +
|welcome=Welcome to the wiki of
 +
|logo=[[File:Fond-2.jpg|thumb|upright=5|center]]
 +
|title=An awesome Crew
 +
|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 ==
 +
</noinclude><!--        WELCOME        -->
 
{| 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:white; color:black; border:2px solid #7e7e7e; margin: 0px; font-size:200%; border-radius:5px; padding:5px;"
 
  |-
 
  |-
Line 8: Line 24:
 
{{{logo|[[File:Fond-2.jpg|thumb|upright=5|center]]}}}
 
{{{logo|[[File:Fond-2.jpg|thumb|upright=5|center]]}}}
  
[{{{pirateparty|http://pirateparty.be}}} {{{title|Pirates of Belgium}}}]
+
{{#if: {{{pirateparty|}}} | [{{{pirateparty}}} {{{title|An awesome Crew}}}] | {{{title|An awesome Crew}}} }}
  
 
  |}
 
  |}
  
<!--        Agenda, Forum, Site        -->
+
<!--        Agenda, Loomio, Site        -->
 
{| 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: 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|[http://pirateparty.be/agenda Agenda]}}}
+
  | style="width: 33%;" | {{{row1col1|[https://pirateparty.be/calendar Agenda]}}}
  | style="width: 33%;" | {{{row1col2|[http://forum.pirateparty.be/ Forum]}}}
+
  | style="width: 33%;" | {{{row1col2|[https://www.loomio.org Loomio]}}}
  | style="width: 33%;" | {{{row1col3|[http://pirateparty.be Site web]}}}
+
  | style="width: 33%;" | {{{row1col3|[https://pirateparty.be Website]}}}
  
 
  |}
 
  |}
Line 22: Line 38:
 
<!--        Current Projects, Meetings, To do List        -->
 
<!--        Current Projects, Meetings, To do List        -->
 
{| 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: 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|[[Current Projects| Current Projects]]}}}
+
  | style="width: 33%" | {{{row2col1|[[#Projects| Current Projects]]}}}
  | style="width: 33%" | {{{row2col2|[[Meeting Minutes| Meetings]]}}}
+
  | style="width: 33%" | {{{row2col2|[[#Meetings| Meetings Minutes]]}}}
  | style="width: 33%" | {{{row2col3|[[To Do List|To Do List]]}}}
+
  | style="width: 33%" | {{{row2col3|[[#To Do|To Do List]]}}}
 
   
 
   
 
  |}
 
  |}
 +
 +
{|style="border:2px solid #7e7e7e; margin: 0.25em 0 0 0; font-size:100%; border-radius:5px; padding:5px;" width="100%"
 +
|-
 +
|

Revision as of 19:21, 12 November 2016

Usage

{{CrewHeader
|welcome=Welcome to the wiki of
|logo=[[File:Fond-2.jpg|thumb|upright=5|center]]
|title=An awesome Crew
|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

Fond-2.jpg

An awesome Crew

Agenda Loomio Website
Current Projects Meetings Minutes To Do List