Difference between revisions of "Template:Test"
Jump to navigation
Jump to search
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This is the " | + | This is the "Group Template" template. It should be called in the following format: |
<pre> | <pre> | ||
− | {{ | + | {{GroupHeader |
− | | | + | | GroupTitle = Group Name |
− | | Img | + | | Img = Img link for Group |
− | | | + | | GroupType = Team? Organization? |
− | | | + | | GroupFoundedDate = Founded date |
− | | | + | | GroupLocation = Headquarters Location |
− | | | + | | GroupLeadership = Appointed Leaders of the Group (Use Char#s) |
− | | | + | | GroupMembers = Group Member Numbers |
− | | | + | | GroupSummary = Brief Summary of the Group |
}} | }} | ||
</pre> | </pre> | ||
Line 18: | Line 18: | ||
{| class="toccolours" style="width: 900px; float: left; margin-left:10px; margin-right:1px; margin-bottom:10px; text-align: left" cellspacing="2" | {| class="toccolours" style="width: 900px; float: left; margin-left:10px; margin-right:1px; margin-bottom:10px; text-align: left" cellspacing="2" | ||
|- | |- | ||
− | ! style="background:{{{Color|black}}}; color:{{{TextColor|ffff66}}}; border: 1px ridge; font-size: 110%;" align="center" colspan="4" | '''{{{ | + | ! style="background:{{{Color|black}}}; color:{{{TextColor|ffff66}}}; border: 1px ridge; font-size: 110%;" align="center" colspan="4" | '''{{{GroupTitle|Untitled Group}}}''' |
|- | |- | ||
! colspan="4" align="center" | <img src="{{{Img}}}" width="300"> | ! colspan="4" align="center" | <img src="{{{Img}}}" width="300"> | ||
|- | |- | ||
− | ! style="background:{{{Color|black}}}; color:{{{TextColor|ffff66}}}; border: 1px ridge; font-size: 110%;" align="center" colspan="4" | '''{{{ | + | |- |
+ | ! style="background:{{{Color|black}}}; color:{{{TextColor|ffff66}}}; border: 1px ridge; font-size: 110%;" align="center" colspan="4" | '''{{{GroupType|Organization}}}''' | ||
+ | |- | ||
+ | |- class="LogRow" | ||
+ | ! class="LogCell" | Founded || class="LogCell" | {{#set:Group Date={{{GroupFoundedDate}}}}}{{#time: d F Y | {{{GroupFoundedDate}}} }} | ||
|- | |- | ||
|- class="LogRow" | |- class="LogRow" | ||
− | ! | + | ! style="color: #ffff66; text-align:left" | Headquarters |
+ | ! colspan="3" style="color: #C0C0C0; font-weight:normal;" | {{{GroupLocation |No Headquarters Specified}}} | ||
|- | |- | ||
|- class="LogRow" | |- class="LogRow" | ||
− | ! | + | ! style="color: #ffff66; text-align:left" | Brief Summary |
+ | ! colspan="3" style="color: #C0C0C0; font-weight:normal;" | {{{GroupSummary |This is a Group}}} | ||
|- | |- | ||
|- class="LogRow" | |- class="LogRow" | ||
− | ! class="LogCell" | | + | ! class="LogCell" | Leadership: || class="LogCell" | {{#arraymap:{{{GroupLeadership}}}|,|x|{{#set:Group Characters=x}}{{#if: {{#vardefineecho: x | {{#ask: [[Char_id::x]]}}}} | {{#var: x}} | x}}|, }} |
|- | |- | ||
|- class="LogRow" | |- class="LogRow" | ||
− | ! class="LogCell" | | + | ! class="LogCell" | Members: || class="LogCell" | {{#arraymap:{{{GroupMembers}}}|,|x|{{#set:Group Characters=x}}{{#if: {{#vardefineecho: x | {{#ask: [[Char_id::x]]}}}} | {{#var: x}} | x}}|, }} |
− | |} [[Category: | + | |} [[Category:Groups]] |
+ | |||
---- | ---- | ||
</includeonly> | </includeonly> |
Latest revision as of 19:44, 7 June 2024
This is the "Group Template" template. It should be called in the following format:
{{GroupHeader | GroupTitle = Group Name | Img = Img link for Group | GroupType = Team? Organization? | GroupFoundedDate = Founded date | GroupLocation = Headquarters Location | GroupLeadership = Appointed Leaders of the Group (Use Char#s) | GroupMembers = Group Member Numbers | GroupSummary = Brief Summary of the Group }}
Edit the page to see the template text.