Difference between revisions of "Template:Log"

From Modern Nights
Jump to: navigation, search
(Created page with "__NOEDITSECTION__ __NOTOC__<css> #content table.log { min-width: 600px; width: 66%; } #content table h4 { padding: 0; margin: 0; color: #303030; } #content table td.cast { min...")
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOEDITSECTION__ __NOTOC__<css>
+
__NOEDITSECTION__ __NOTOC__<includeonly>
#content table.log {
 
min-width: 600px;
 
width: 66%;
 
}
 
#content table h4 {
 
padding: 0;
 
margin: 0;
 
color: #303030;
 
}
 
#content table td.cast {
 
min-width: 210px;
 
padding-right: 10px;
 
}
 
p {
 
text-indent: 20px;
 
}
 
p.right {
 
float: right;
 
margin: 0;
 
padding: 0;
 
}
 
</css><includeonly>
 
 
{| class="log"
 
{| class="log"
 
! class="center" colspan="2" | {{BASEPAGENAME}}
 
! class="center" colspan="2" | {{BASEPAGENAME}}
Line 28: Line 6:
 
{{!}} class="center" colspan="2" {{!}} <h4> ''{{{subtitle}}}'' </h4> }}
 
{{!}} class="center" colspan="2" {{!}} <h4> ''{{{subtitle}}}'' </h4> }}
 
|-
 
|-
| class="cast" | '''Dramatis Personae'''
+
| class="cast" | '''Cast'''
  
 
{{{cast}}}
 
{{{cast}}}
Line 44: Line 22:
 
[[Category:RP Logs|{{{gamedate|0000.00.00}}}]]{{#ifeq: {{{categories| }}} | | | [[Category:{{#replace:{{{categories}}}|,| &nbsp;Logs{{!}}{{BASEPAGENAME}}{{RB}}{{LB}}Category: }} Logs{{!}}{{BASEPAGENAME}} ]] }}</includeonly><noinclude>
 
[[Category:RP Logs|{{{gamedate|0000.00.00}}}]]{{#ifeq: {{{categories| }}} | | | [[Category:{{#replace:{{{categories}}}|,| &nbsp;Logs{{!}}{{BASEPAGENAME}}{{RB}}{{LB}}Category: }} Logs{{!}}{{BASEPAGENAME}} ]] }}</includeonly><noinclude>
 
{| class="log"
 
{| class="log"
! class="center" colspan="2" | Fallcoast Log Template
+
! class="center" colspan="2" | Log Template
 
|-
 
|-
 
| class="center" colspan="2" | <h4> ''Here goes a subtitle, if you have one'' </h4>
 
| class="center" colspan="2" | <h4> ''Here goes a subtitle, if you have one'' </h4>
 
|-
 
|-
| class="cast" | '''Dramatis Personae'''
+
| class="cast" | '''Cast'''
  
 
The PCs and NPCs involved in the log will be listed here.
 
The PCs and NPCs involved in the log will be listed here.

Latest revision as of 12:27, 22 August 2021

Log Template

Here goes a subtitle, if you have one

Cast

The PCs and NPCs involved in the log will be listed here.

Template:Date


This is the log template. You're probably already familiar with how it works, but for those of you who aren't, the syntax can be found below. This space is for a scene summary, setting, introduction or simply a pithy quote.

Location

{{ Log
| cast = 
| summary = 
| gamedate = YYYY.MM.DD
| gamedatename = 
| subtitle = 
| location = 
| categories = Vampire, Werewolf, Mortal+, Crime
| log = 
}}

Most of this is self-explanatory. The three fiddly fields are location, gamedate and categories.

  1. Location should be the grid square where it took place, listed as a link.
  2. Gamedate will take input in the form of YYYY.MM.DD and nothing else. You must place it somewhen for Template:RP Logs to know what you're talking about. If you want alternate date text, like "Christmas Eve" instead of "24 December, 2011", you can put something in for gamedatename and it will replace the normal date text on the log page. If the day, month or year of your scene is uncertain, fill in that section with "0000" or "00" and the template will know what you mean.
  3. Categories requires a comma-delimited list of the categories (not [[Category:]] tags, but the names of the spheres to which the log is relevant; the example above should explain plenty and a list of extant log categories can be found at Category:RP Logs) into which you want to place the log. The advantage of using the categories parameter instead of manually adding categories is that the categories parameter will automatically make it so that the categories sort the page by its name rather than its namespace (which will always turn up under 'L').