Difference between revisions of "Template:Log Header"
Jump to navigation
Jump to search
(20 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
</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: | + | .LogTitle {text-align:center; font-size:medium; color: white; text-shadow: 1px 1px 1px black; border-radius: 5px 5px 0px 0px; background-color: #081f3f} |
.LogRow {text-align:left;} | .LogRow {text-align:left;} | ||
− | .LogRow:nth-child(2n+2) {background-color: rgba( | + | .LogRow:nth-child(2n+2) {background-color: rgba(4,61,61,.97)} |
− | .LogRow:nth-child(2n+3) {background-color: | + | .LogRow:nth-child(2n+3) {background-color: #081f3f} |
.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 598: | Line 598: | ||
|- 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}}|, }} | ! 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}}|, }} | ||
+ | {{#if: {{{Cast of NPCs|}}} | | ||
+ | {{!}}- class="LogRow" | ||
+ | ! class="LogCell" {{!}} Cast of NPCs: {{!!}} class="LogCell" {{!}} {{#arraymap:{{{Cast of NPCs}}}|,|x|{{#set:Log NPC Characters=x}}{{#if: {{#vardefineecho: x | {{#ask: [[Char_id::x]]}}}} | {{#var: x}} | x}}|, }} | }} | ||
{{#if: {{{Tinyplot|}}} | | {{#if: {{{Tinyplot|}}} | | ||
{{!}}- class="LogRow" | {{!}}- class="LogRow" | ||
Line 606: | Line 609: | ||
|} [[Category:Roleplay Logs]] | |} [[Category:Roleplay Logs]] | ||
{{#if: {{{pretty|}}} | {{#css: | {{#if: {{{pretty|}}} | {{#css: | ||
− | dl:nth-child(2n+1) dd {background-color: | + | dl:nth-child(2n+1) dd {background-color:#081f3f; border-radius:5px; padding:5px;} |
− | dl:nth-child(2n+2) dd {background-color:rgba( | + | dl:nth-child(2n+2) dd {background-color:rgba(4,61,61,.97); border-radius:5px; padding:5px;} | }} |
}} | }} | ||
---- | ---- | ||
</includeonly> | </includeonly> |
Latest revision as of 20:50, 1 April 2021
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.