Difference between revisions of "Template:Test"

From Heroes Assemble MUSH
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Show Template" template. It should be called in the following format:  
+
This is the "Group Template" template. It should be called in the following format:  
 
<pre>
 
<pre>
{{ShowHeader
+
{{GroupHeader
| ShowTitle         = What is the Show Title?
+
| GroupTitle         = Group Name
| Img               = link to show image
+
| Img                 = Img link for Group
| ShowType           = What format show is this? Movie? TV? Radio? News?
+
| GroupType           = Team? Organization?
| ShowStatus        = Is the Show Ongoing, Finished, Rumored, or in Production?
+
| GroupFoundedDate    = Founded date
| ShowStartDate      = When did this start?
+
| GroupLocation = Headquarters Location
| ShowEndDate        = When did this end?
+
| GroupLeadership  = Appointed Leaders of the Group (Use Char#s)
| Synopsis          = What is the show about?
+
| GroupMembers = Group Member Numbers
| Cast of Characters = Characters who have appeared in the show
+
| 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" | '''{{{ShowTitle|Untitled}}}''' ('''{{{ShowType|TV Series}}}''')
+
! 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" | '''{{{ShowStatus|Finished}}}'''
+
|-
 +
! 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"
! class="LogCell" | Start Date: || class="LogCell" | {{#set:Show Date={{{ShowStartDate}}}}}{{#time: d F Y | {{{ShowStartDate}}} }}  
+
! style="color: #ffff66; text-align:left" | Headquarters
 +
! colspan="3" style="color: #C0C0C0; font-weight:normal;" | {{{GroupLocation |No Headquarters Specified}}}
 
|-
 
|-
 
|- class="LogRow"
 
|- class="LogRow"
! class="LogCell" | End Date: || class="LogCell" | {{#time: d F Y | {{{ShowEndDate}}} }}
+
! 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" | Synopsis: || class="LogCell" | {{#set:Show Synopsis={{{Synopsis}}}}}{{{Synopsis|}}}  
+
! class="LogCell" | Leadership: || class="LogCell" | {{#arraymap:{{{GroupLeadership}}}|,|x|{{#set:Group Characters=x}}{{#if: {{#vardefineecho: x | {{#ask: [[Char_id::x]]}}}} | {{#var: x}} | x}}|,&#32;}}  
 
|-
 
|-
 
|- class="LogRow"
 
|- class="LogRow"
! class="LogCell" | Cast: || class="LogCell" | {{#arraymap:{{{Cast of Characters}}}|,|x|{{#set:Show Characters=x}}{{#if: {{#vardefineecho: x | {{#ask: [[Char_id::x]]}}}} | {{#var: x}} | x}}|,&#32;}}  
+
! class="LogCell" | Members: || class="LogCell" | {{#arraymap:{{{GroupMembers}}}|,|x|{{#set:Group Characters=x}}{{#if: {{#vardefineecho: x | {{#ask: [[Char_id::x]]}}}} | {{#var: x}} | x}}|,&#32;}}  
|}  [[Category:Shows]]
+
|}  [[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.