Difference between revisions of "Template:Log Header"

From Multiverse Crisis MUSH
Jump to: navigation, search
 
(16 intermediate revisions by one other user 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> __NOCACHE__ {{#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)}
 
   .LogRow {text-align:left;}
 
   .LogRow {text-align:left;}
   .LogRow:nth-child(2n+3) {background-color: rgba(0,70,70,.2)}
+
   .LogRow:nth-child(2n+2) {background-color: rgba(0,70,70,.2)}
   .LogRow:nth-child(2n+4) {background-color: rgba(0,70,70,.3)}
+
   .LogRow:nth-child(2n+3) {background-color: rgba(0,70,70,.3)}
 
   .LogCell {padding:0px 0px 0px 4px; vertical-align:top;}
 
   .LogCell {padding:0px 0px 0px 4px; vertical-align:top;}
 
   .LogCell:nth-child(1) {Width:140px;}
 
   .LogCell:nth-child(1) {Width:140px;}
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}}{{#if: {{#vardefineecho: x | {{#ask: [[Char_id::x]]}}}} | {{#var: x}} | x}}|,&#32;}}
+
! 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|}}} | {{#vardefine: TPName | {{{Tinyplot}}}}} {{#set:TP={{{Tinyplot}}}}}
+
{{#if: {{{Tinyplot|}}} |  
 
{{!}}- class="LogRow"
 
{{!}}- class="LogRow"
! class="LogCell" {{!}}  Tinyplot: {{!!}} class="LogCell" {{!}} [[Log Tinyplot::{{{Tinyplot}}}]] | }} 
+
! class="LogCell" {{!}}  Tinyplot: {{!!}} class="LogCell" {{!}} [[Log Tinyplot::{{{Tinyplot}}}]]
{{#if: {{{Tinyplot2|}}} | {{#vardefine: TPName2 | {{{Tinyplot2}}}}} {{#set:TP2={{{Tinyplot2}}}}}
+
{{#if: {{{Tinyplot2|}}} |
 
{{!}}- class="LogRow"
 
{{!}}- class="LogRow"
! class="LogCell LastCell" {{!}}  Tinyplot2: {{!!}} class="LogCell LastCell" {{!}} [[Tinyplot Two::{{{Tinyplot2}}}]] | }}  
+
! 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.