Difference between revisions of "Template:Log"

From City of Hope MUSH
Jump to navigation Jump to search
imported>Felix
m
imported>Felix
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#css:
 
<includeonly>{{#css:
     p {
+
     .wikitable ~ p {
 
         margin: 0;
 
         margin: 0;
 
         text-indent: 3em;
 
         text-indent: 3em;
 
     }
 
     }
     i, em, blockquote b {
+
     .wikitable ~ i, .wikitable ~ em, .wikitable ~ blockquote b {
 
         margin-left: -3em;
 
         margin-left: -3em;
 +
    }
 +
    .ooc {
 +
        font-style: italic;
 +
        margin-left: 3.75em;
 +
        text-indent: -3.75em;
 
     }
 
     }
 
     .wikitable.logbox {
 
     .wikitable.logbox {
 +
        border: 1px dotted #999;
 
         font-size: 100%;  
 
         font-size: 100%;  
 
         text-align: left;
 
         text-align: left;
 
         margin: .5em auto 1.5em;
 
         margin: .5em auto 1.5em;
 
         width: 50%;
 
         width: 50%;
 +
    }
 +
    .wikitable.logbox tr:nth-of-type(2n+1) {
 +
        background-color: #ffffff;
 
     }
 
     }
 
     .wikitable.logbox th, .wikitable.logbox td {
 
     .wikitable.logbox th, .wikitable.logbox td {
         padding: .25em .5em;
+
        background-color: transparent;
 +
        border: none;
 +
         padding: 0.25em 0.5em;
 +
        text-align: left;
 
         vertical-align: top;
 
         vertical-align: top;
 +
    }
 +
    .wikitable.logbox th {
 +
        white-space: nowrap;
 +
    }
 +
    .wikitable.logbox th::after {
 +
        content: ":";
 
     }
 
     }
 
     .wikitable.logbox .title, .wikitable.logbox .summary {  
 
     .wikitable.logbox .title, .wikitable.logbox .summary {  
 +
        background-color: #f2f2f2;
 +
        border-bottom: 1px dotted #aaa;
 
         text-align: center;
 
         text-align: center;
 
         height: 1.5em
 
         height: 1.5em
 +
    }
 +
    .wikitable.logbox .title::after, .wikitable.logbox .summary::after {
 +
        content: "";
 
     }
 
     }
 
     .wikitable.logbox .title {
 
     .wikitable.logbox .title {
Line 26: Line 49:
 
     }
 
     }
 
}}
 
}}
{| class="wikitable logbox"
+
<table class="wikitable logbox">
|-
+
<tr><th colspan="2" class="title">{{{name}}}</th></tr>
! colspan="2" class="title"| {{{name}}}
+
<tr><th colspan="2" class="summary">{{{summary}}}</th></tr>
|-
 
! colspan="2" class="summary"| {{{summary}}}
 
|-
 
 
{{#if: {{{icdate|}}} |
 
{{#if: {{{icdate|}}} |
! IC Date
+
<tr><th>IC Date</th><td>{{{icdate}}}</td></tr>
{{!}} {{{icdate}}}
 
{{!}}-
 
 
}}
 
}}
 
{{#if: {{{ictime|}}} |
 
{{#if: {{{ictime|}}} |
! IC Time
+
<tr><th>IC Time</th><td>{{{ictime}}}</td></tr>
{{!}} {{{ictime}}}
 
{{!}}-
 
 
}}
 
}}
 
{{#if: {{{storyteller|}}} |
 
{{#if: {{{storyteller|}}} |
! Storyteller
+
<tr><th>Storyteller</th><td>{{{storyteller}}}</td></tr>
{{!}} {{{storyteller}}}
 
{{!}}-
 
 
}}
 
}}
 
{{#if: {{{players|}}} |
 
{{#if: {{{players|}}} |
! Players
+
<tr><th>Players</th><td>{{{players}}}</td></tr>
{{!}} {{{players}}}
 
{{!}}-
 
 
}}
 
}}
 
{{#if: {{{location|}}} |
 
{{#if: {{{location|}}} |
! Location
+
<tr><th>Location</th><td>{{{location}}}</td></tr>
{{!}} {{{location}}}
 
{{!}}-
 
 
}}
 
}}
 
{{#if: {{{plot|}}} |
 
{{#if: {{{plot|}}} |
! Plot
+
<tr><th>Plot</th><td>{{{plot}}}</td></tr>
{{!}} {{{plot}}}
 
{{!}}-
 
 
}}
 
}}
 
{{#if: {{{spheres|}}} |
 
{{#if: {{{spheres|}}} |
! Spheres
+
<tr><th>Spheres</th><td>{{{spheres}}}</td></tr>
{{!}} {{{spheres}}}
 
{{!}}-
 
 
}}
 
}}
 
{{#if: {{{themesong|}}} |
 
{{#if: {{{themesong|}}} |
! Theme Song
+
<tr><th>Theme Song</th><td>{{{themesong}}}</td></tr>
{{!}} {{{themesong}}}
 
{{!}}-
 
 
}}
 
}}
|}
+
</table>
 
{{{log}}}
 
{{{log}}}
 
[[Category:Logs]]</includeonly>
 
[[Category:Logs]]</includeonly>
Line 90: Line 94:
 
|log          = Paste the actual log here.  Best with 3 lines between poses, 1 between paragraphs of the same pose.
 
|log          = Paste the actual log here.  Best with 3 lines between poses, 1 between paragraphs of the same pose.
 
}}</pre>
 
}}</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.
 
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>
 
</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.