Difference between revisions of "Template:Log"

From City of Hope MUSH
Jump to navigation Jump to search
imported>Marshall
(Blanked the page)
imported>Felix
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<includeonly>{{#css:
 +
    .wikitable ~ p {
 +
        margin: 0;
 +
        text-indent: 3em;
 +
    }
 +
    .wikitable ~ i, .wikitable ~ em, .wikitable ~ blockquote b {
 +
        margin-left: -3em;
 +
    }
 +
    .ooc {
 +
        font-style: italic;
 +
        margin-left: 3.75em;
 +
        text-indent: -3.75em;
 +
    }
 +
    .wikitable.logbox {
 +
        border: 1px dotted #999;
 +
        font-size: 100%;
 +
        text-align: left;
 +
        margin: .5em auto 1.5em;
 +
        width: 50%;
 +
    }
 +
    .wikitable.logbox tr:nth-of-type(2n+1) {
 +
        background-color: #ffffff;
 +
    }
 +
    .wikitable.logbox th, .wikitable.logbox td {
 +
        background-color: transparent;
 +
        border: none;
 +
        padding: 0.25em 0.5em;
 +
        text-align: left;
 +
        vertical-align: top;
 +
    }
 +
    .wikitable.logbox th {
 +
        white-space: nowrap;
 +
    }
 +
    .wikitable.logbox th::after {
 +
        content: ":";
 +
    }
 +
    .wikitable.logbox .title, .wikitable.logbox .summary {
 +
        background-color: #f2f2f2;
 +
        border-bottom: 1px dotted #aaa;
 +
        text-align: center;
 +
        height: 1.5em
 +
    }
 +
    .wikitable.logbox .title::after, .wikitable.logbox .summary::after {
 +
        content: "";
 +
    }
 +
    .wikitable.logbox .title {
 +
        font-size: 150%;
 +
        vertical-align: middle;
 +
    }
 +
}}
 +
<table class="wikitable logbox">
 +
<tr><th colspan="2" class="title">{{{name}}}</th></tr>
 +
<tr><th colspan="2" class="summary">{{{summary}}}</th></tr>
 +
{{#if: {{{icdate|}}} |
 +
<tr><th>IC Date</th><td>{{{icdate}}}</td></tr>
 +
}}
 +
{{#if: {{{ictime|}}} |
 +
<tr><th>IC Time</th><td>{{{ictime}}}</td></tr>
 +
}}
 +
{{#if: {{{storyteller|}}} |
 +
<tr><th>Storyteller</th><td>{{{storyteller}}}</td></tr>
 +
}}
 +
{{#if: {{{players|}}} |
 +
<tr><th>Players</th><td>{{{players}}}</td></tr>
 +
}}
 +
{{#if: {{{location|}}} |
 +
<tr><th>Location</th><td>{{{location}}}</td></tr>
 +
}}
 +
{{#if: {{{plot|}}} |
 +
<tr><th>Plot</th><td>{{{plot}}}</td></tr>
 +
}}
 +
{{#if: {{{spheres|}}} |
 +
<tr><th>Spheres</th><td>{{{spheres}}}</td></tr>
 +
}}
 +
{{#if: {{{themesong|}}} |
 +
<tr><th>Theme Song</th><td>{{{themesong}}}</td></tr>
 +
}}
 +
</table>
 +
{{{log}}}
 +
[[Category:Logs]]</includeonly>
 +
<noinclude>===Usage===
 +
Log pages should be named in the pattern of: <code>YYYY.MM.DD: Title Of Log</code>
 +
<pre>{{Log
 +
|name        = Name of log. Usually just the title of the page.
 +
|summary      = A one line summary of the log.
 +
|icdate      = IC date.
 +
|ictime      = IC time.
 +
|storyteller  = Storyteller/GM
 +
|players      = Players in the scene.
 +
|location    = location or locations.
 +
|plot        = The plot (PRP, TP) the log is part of, if ongoing.
 +
|spheres      = The spheres involved in the log.
 +
|themesong    = A theme song for the log
 +
|log          = Paste the actual log here.  Best with 3 lines between poses, 1 between paragraphs of the same pose.
 +
}}</pre>
  
 +
Don't forget to add Categories!  The Logs category is automatic, but adding each player's wiki page name as a category (<code><nowiki>[[Category:Name]]</nowiki></code>) will usually allow them to show up on that person's page.
 +
</noinclude>

Latest revision as of 08:23, 21 February 2017

Usage

Log pages should be named in the pattern of: YYYY.MM.DD: Title Of Log

{{Log
|name         = Name of log. Usually just the title of the page.
|summary      = A one line summary of the log.
|icdate       = IC date.
|ictime       = IC time.
|storyteller  = Storyteller/GM
|players      = Players in the scene.
|location     = location or locations.
|plot         = The plot (PRP, TP) the log is part of, if ongoing.
|spheres      = The spheres involved in the log.
|themesong    = A theme song for the log
|log          = Paste the actual log here.  Best with 3 lines between poses, 1 between paragraphs of the same pose.
}}

Don't forget to add Categories! The Logs category is automatic, but adding each player's wiki page name as a category ([[Category:Name]]) will usually allow them to show up on that person's page.