Difference between revisions of "Template:Log Header"

From Multiverse Crisis MUSH
Jump to: navigation, search
m (1 revision)
 
(45 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
<pre>{{Log Dossier
 
<pre>{{Log Dossier
 
| Synopsis          = What was the scene about?  
 
| Synopsis          = What was the scene about?  
| TinyPlot           = In the case there is a Tinyplot page you wish to associate with this log.
+
| Tinyplot           = In the case there is a Tinyplot page you wish to associate with this log.
 +
| Tinyplot2          = If there's a second TP the scene was part of.
 
| Cast of Characters = Characters who were in the scene, seperated by commas.
 
| Cast of Characters = Characters who were in the scene, seperated by commas.
 
| Thanks            = In case you wish to thank People who NPCed... etc - Optional
 
| Thanks            = In case you wish to thank People who NPCed... etc - Optional
Line 13: Line 14:
  
 
Edit the page to see the template text.  
 
Edit the page to see the template text.  
</noinclude><includeonly>{{#css:
+
</noinclude><includeonly> {{#css:
 
   .LogHeader { width:60%; border-radius:5px; margin-left:auto; margin-right:auto;}
 
   .LogHeader { width:60%; border-radius:5px; margin-left:auto; margin-right:auto;}
 
   .LogTitle {text-align:center; font-size:medium; color: white; text-shadow: 1px 1px 1px black; border-radius: 5px 5px 0px 0px; background-color: rgba(0,70,70,.5)}
 
   .LogTitle {text-align:center; font-size:medium; color: white; text-shadow: 1px 1px 1px black; border-radius: 5px 5px 0px 0px; background-color: rgba(0,70,70,.5)}
Line 585: Line 586:
 
{| class="LogHeader"  
 
{| class="LogHeader"  
 
|- class="LogRow"
 
|- class="LogRow"
! class="LogTitle" colspan="2"| {{PAGENAME}}
+
! class="LogTitle" colspan="2"| {{#if:{{#titleparts:{{PAGENAME}}|0|2}}|{{#titleparts:{{PAGENAME}}|0|2}}|{{PAGENAME}}}}
 
|- class="LogRow"
 
|- class="LogRow"
 
! class="LogCell" | Date of Scene: || class="LogCell" | {{#set:Log Date={{{Date of Scene}}}}}{{#time: d F Y | {{{Date of Scene}}} }}  
 
! class="LogCell" | Date of Scene: || class="LogCell" | {{#set:Log Date={{{Date of Scene}}}}}{{#time: d F Y | {{{Date of Scene}}} }}  
 
|- class="LogRow"
 
|- class="LogRow"
! class="LogCell" | Location: || class="LogCell" | {{#arraymap:{{{Location|}}}|,|x|{{#set:Log Location=x}}[[x]]}} 
+
! class="LogCell" | Location: || class="LogCell" | {{{Location|}}}
 
|- class="LogRow"
 
|- class="LogRow"
 
! class="LogCell" | Synopsis: || class="LogCell" | {{#set:Log Synopsis={{{Synopsis}}}}}{{{Synopsis|}}}  
 
! class="LogCell" | Synopsis: || class="LogCell" | {{#set:Log Synopsis={{{Synopsis}}}}}{{{Synopsis|}}}  
Line 596: Line 597:
 
! class="LogCell" {{!}}  Thanks to: {{!!}} class="LogCell" {{!}} {{{Thanks}}} | }}   
 
! class="LogCell" {{!}}  Thanks to: {{!!}} class="LogCell" {{!}} {{{Thanks}}} | }}   
 
|- class="LogRow"
 
|- class="LogRow"
! class="LogCell" | Cast of Characters: || class="LogCell" | {{#arraymap:{{{Cast of Characters|}}}|,|x|{{#set:Log Characters=x}}[[x]]}}  
+
! class="LogCell" | Cast of Characters: || class="LogCell" | {{#arraymap:{{{Cast of Characters}}}|,|x|{{#set:Log Characters=x}}{{#if: {{#vardefineecho: x | {{#ask: [[Char_id::x]]}}}} | {{#var: x}} | x}}|,&#32;}}  
 
{{#if: {{{Tinyplot|}}} |  
 
{{#if: {{{Tinyplot|}}} |  
 
{{!}}- class="LogRow"
 
{{!}}- class="LogRow"
! class="LogCell LastCell" {{!}}  Tinyplot: {{!!}} class="LogCell LastCell" {{!}} [[Log Tinyplot::{{{Tinyplot}}}]] | }}  
+
! class="LogCell" {{!}}  Tinyplot: {{!!}} class="LogCell" {{!}} [[Log Tinyplot::{{{Tinyplot}}}]]
 +
{{#if: {{{Tinyplot2|}}} |
 +
{{!}}- class="LogRow"
 +
! class="LogCell" {{!}}  Tinyplot2: {{!!}} class="LogCell" {{!}} [[Tinyplot Two::{{{Tinyplot2}}}]] | }} | }}
 
|}  [[Category:Roleplay Logs]]
 
|}  [[Category:Roleplay Logs]]
 
{{#if: {{{pretty|}}} | {{#css:
 
{{#if: {{{pretty|}}} | {{#css:

Latest revision as of 10:17, 11 December 2016

This is the "RP Log Template" template. It should be called in the following format:

{{Log Dossier
| Synopsis           = What was the scene about? 
| Tinyplot           = In the case there is a Tinyplot page you wish to associate with this log.
| Tinyplot2          = If there's a second TP the scene was part of.
| Cast of Characters = Characters who were in the scene, seperated by commas.
| Thanks             = In case you wish to thank People who NPCed... etc - Optional
| Location           = Where did it ICly take place?
| Date of Scene      = When did this OOCly take place?
| pretty             = If you have your log formatted according to the guidelines, use 'yes' to get it to look 'pretty' 
}} 

Edit the page to see the template text.