Difference between revisions of "Template:Test"
Jump to navigation
Jump to search
(Replaced content with "There's no Template being tested at the moment") (Tag: Replaced) |
|||
Line 1: | Line 1: | ||
− | + | <noinclude> | |
+ | This is the "Show Template" template. It should be called in the following format: | ||
+ | <pre> | ||
+ | {{ShowHeader | ||
+ | | ShowTitle = What is the Show Title? | ||
+ | | Img = link to show image | ||
+ | | ShowType = What format show is this? Movie? TV? Radio? News? | ||
+ | | ShowStatus = Is the Show Ongoing, Finished, Rumored, or in Production? | ||
+ | | ShowStartDate = When did this start? | ||
+ | | ShowEndDate = When did this end? | ||
+ | | Synopsis = What is the show about? | ||
+ | | Cast of Characters = Characters who have appeared in the show | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | Edit the page to see the template text. | ||
+ | </noinclude><includeonly> | ||
+ | {| 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}}}''') | ||
+ | |- | ||
+ | ! 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}}}''' | ||
+ | |- | ||
+ | |- class="LogRow" | ||
+ | ! class="LogCell" | Start Date: || class="LogCell" | {{#set:Show Date={{{ShowStartDate}}}}}{{#time: d F Y | {{{ShowStartDate}}} }} | ||
+ | |- | ||
+ | ! style="color: #ffff66; text-align:left" | End Date: | ||
+ | ! colspan="3" style="color: #C0C0C0; font-weight:normal;" | {{{ShowEndDate}}} | ||
+ | |- | ||
+ | |- class="LogRow" | ||
+ | ! class="LogCell" | Synopsis: || class="LogCell" | {{#set:Show Synopsis={{{Synopsis}}}}}{{{Synopsis|}}} | ||
+ | |- | ||
+ | |- 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}}|, }} | ||
+ | |} [[Category:Shows]] | ||
+ | |||
+ | ---- | ||
+ | </includeonly> |
Revision as of 19:36, 16 July 2022
This is the "Show Template" template. It should be called in the following format:
{{ShowHeader | ShowTitle = What is the Show Title? | Img = link to show image | ShowType = What format show is this? Movie? TV? Radio? News? | ShowStatus = Is the Show Ongoing, Finished, Rumored, or in Production? | ShowStartDate = When did this start? | ShowEndDate = When did this end? | Synopsis = What is the show about? | Cast of Characters = Characters who have appeared in the show }}
Edit the page to see the template text.