Difference between revisions of "Template:Log"

From From The Ashes Wiki
Jump to: navigation, search
(Undo revision 5714 by Liesl (talk))
 
(25 intermediate revisions by 2 users not shown)
Line 17: Line 17:
 
     margin: 1em auto 0;
 
     margin: 1em auto 0;
 
     text-align: center;
 
     text-align: center;
     border-bottom: 1px dotted black;
+
     border-bottom: 1px solid #89A79B;
 
     padding-bottom: 1em;
 
     padding-bottom: 1em;
 
}
 
}
 
.logdate {
 
.logdate {
     border-bottom: 1px dotted black;
+
     border-bottom: 1px solid #89A79B;
 
     height: 2em;
 
     height: 2em;
 
}
 
}
 
.logpage .setting {
 
.logpage .setting {
     padding: 1.5em 0 1em 2em;
+
     padding: .25em 0 1.5em 2em;
     border-left: 1px dotted black;
+
     border-left: 1px solid #89A79B;
 
}
 
}
 
.logpage .setting p {
 
.logpage .setting p {
     margin: .5em 0;
+
     margin: 0;
 +
}
 +
.logpage .place:not(:first-of-type) {
 +
    border-top: 1px dotted #89A79B;
 +
    margin-top: 1.25em;
 +
}
 +
.logpage .place p:first-child {
 +
    margin: 1.25em 0 0;
 +
}
 +
.logpage .place p > br {
 +
    margin-top: 0;
 
}
 
}
 
.logpage .log {
 
.logpage .log {
     border-top: 1px dotted black;
+
     border-top: 1px solid #89A79B;
 
     padding-bottom: 0;
 
     padding-bottom: 0;
 
}
 
}
Line 45: Line 55:
 
.logpage .logdate p,
 
.logpage .logdate p,
 
.logpage .logcast p,
 
.logpage .logcast p,
.logpage .setting p:first-child {
+
.logpage .place p:first-child {
 
     text-indent: 0;
 
     text-indent: 0;
 
}
 
}
Line 51: Line 61:
 
.logpage .logdate p {
 
.logpage .logdate p {
 
     margin: 0;
 
     margin: 0;
 +
}
 +
.logcast p:nth-of-type(2) {
 +
    margin-top: 1em;
 
}
 
}
 
.logpage .ooc p {
 
.logpage .ooc p {
 +
    font-family: monospace;
 +
    //font-size: .875rem;
 +
    font-size: 1rem;
 +
    text-indent: initial;
 +
    margin: .75em 0;
 +
    line-height: 1.5em;
 +
}
 +
.logpage .private {
 +
    font-style: italic;
 +
}
 +
.logpage .desc {
 +
    font-family: monospace;
 
     font-style: italic;
 
     font-style: italic;
     text-indent: initial;
+
    //font-size: .875rem;
 +
    font-size: 1rem;
 +
    margin: .75em 0;
 +
    line-height: 1.5em
 +
}
 +
.logpage .desc b {
 +
    display: block;
 +
     text-indent: 0;
 
}
 
}
 
.logpage p > br {
 
.logpage p > br {
Line 60: Line 92:
 
     height: 0;
 
     height: 0;
 
     margin-top: -1.5em;
 
     margin-top: -1.5em;
 +
    content: "";
 
}
 
}
 
.logpage .logdate br,
 
.logpage .logdate br,
 
.logpage .ooc br {
 
.logpage .ooc br {
     display: initial;
+
     margin-top: 0;
 
}
 
}
 
}}<noinclude>
 
}}<noinclude>
Line 76: Line 109:
 
* [[Person In Scene 2]]
 
* [[Person In Scene 2]]
 
* [[Person In Scene 3]]
 
* [[Person In Scene 3]]
| place_name=Name of Room
+
| st=[[Storyteller]] (optional)
| place_desc=The description of the place.
+
| place_name=[[Name of Room]]
 +
| place_desc=The description of the place. (optional)
 +
| place_nameN=[[Name of Room]] (optional, where N is a number, i.e., place_name2)
 +
| place_desc2=The description of the place. (optional, where N is a number, i.e., place_desc2)
 
| log=Your log, properly marked up.
 
| log=Your log, properly marked up.
 
}}
 
}}
 
</pre>
 
</pre>
  
This template will create a log page.  
+
This template will create a log page. '''Log pages should be named with only the name of the log, i.e., A Thing That Happened and should ''not'' include the date or anything else in the page title.'''  The [[Template:RP Logs|RP Logs]] template automatically sorts the logs by the date you put in the template itself, and has the option to show or not show those dates.
  
 
Proper markup includes:
 
Proper markup includes:
  
* each player's name as a separate list element, and surrounded by <nowiki>[[]]</nowiki>
+
* each player's name as a separate list element, and surrounded by <nowiki>[[]]</nowiki>.
 +
* if the room is on the grid, the room name should also be surrounded by <nowiki>[[]]</nowiki>, so that if it ever has a wiki page with a log section, your log can automagically show up there. (Not done on the example for obvious reasons!)
 
* a blank line between each pose, paragraph of a pose, or OOC speaker.
 
* a blank line between each pose, paragraph of a pose, or OOC speaker.
* a &lt;br /&gt; at the end of each paragraph of a pose except the last, including OOC lines by the same speaker.
+
* a &lt;br /&gt; at the end of each paragraph of a pose except the last, and between OOC lines by the same speaker.
* &lt;div class="ooc"&gt; at the beginning of each group of OOC lines, and &lt;/div&gt; at the end.
+
* &lt;div class="ooc"&gt; at the beginning of each group of OOC lines, and &lt;/div&gt; at the end. This includes <OOC> text, dice rolls, etc.
 +
* &lt;div class="private"&gt; before IC things you wish to include that not everyone could see/hear (such as whispers), and &lt;/div&gt; at the end. If you want a murmur or something to be connected to another pose (i.e., 'Bob murmurs something to Alice.' with 'Bob murmurs, "Well, I didn't expect that."' as though it were the next paragraph), use the same &lt;br /&gt; technique as for normal paragraphs.
  
 
=== Example ===
 
=== Example ===
Line 170: Line 208:
 
"Oh, really?" Cheryl asks sweetly, "Because that's the only acceptable reason I could think of for you failing to call me for three weeks."
 
"Oh, really?" Cheryl asks sweetly, "Because that's the only acceptable reason I could think of for you failing to call me for three weeks."
 
}}
 
}}
[[category:Templates]]
+
[[Category:Template]]
 
</noinclude><includeonly>{{#if: {{{summary|}}}|<div class="summary">{{{summary}}}</div>|}}<table class="MainPageBG logpage" border=0 width="100%"><tr><td width="25%" class="logdate">
 
</noinclude><includeonly>{{#if: {{{summary|}}}|<div class="summary">{{{summary}}}</div>|}}<table class="MainPageBG logpage" border=0 width="100%"><tr><td width="25%" class="logdate">
 
<p>'''Date:''' {{{date}}}{{#if: {{{time|}}}|</p><p>'''Time:''' {{{time}}}|}}</p></td>
 
<p>'''Date:''' {{{date}}}{{#if: {{{time|}}}|</p><p>'''Time:''' {{{time}}}|}}</p></td>
 
<td rowspan=2 class="setting" >
 
<td rowspan=2 class="setting" >
'''{{{place_name}}}'''
+
{{#forargs: place_name
 +
| num
 +
| name
 +
| <div class="place">
 +
'''{{#var: name }}'''
  
{{{place_desc}}}
+
{{{place_desc{{#var: num }}|}}}
 +
</div>
 +
}}
 
</td></tr>
 
</td></tr>
 
<tr><td class="logcast" >
 
<tr><td class="logcast" >
 
'''Cast:'''
 
'''Cast:'''
{{{cast}}}</td></tr>
+
{{{cast}}}
 +
{{#if: {{{st|}}}|
 +
 
 +
'''Storyteller:'''
 +
* {{{st}}}|}}</td></tr>
 
<tr><td colspan=2 class="log" >
 
<tr><td colspan=2 class="log" >
{{{log|{{:{{PAGENAME}}/Log}} }}}</td></tr></table>
+
{{{log|{{:{{PAGENAME}}/Log}} }}}
 +
</td></tr></table>
 
{{#vardefine: here | {{FULLPAGENAME}} }}
 
{{#vardefine: here | {{FULLPAGENAME}} }}
 
{{#ifeq: {{#var:here}} | Template:Log | |[[Category:Logs]]}}</includeonly>
 
{{#ifeq: {{#var:here}} | Template:Log | |[[Category:Logs]]}}</includeonly>

Latest revision as of 13:59, 15 March 2018

Usage

{{Log
| date=MO/DY/YEAR
| time=00:00 EST (optional)
| summary=What this scene's about. (optional)
| cast=
* [[Person In Scene 1]]
* [[Person In Scene 2]]
* [[Person In Scene 3]]
| st=[[Storyteller]] (optional)
| place_name=[[Name of Room]]
| place_desc=The description of the place. (optional)
| place_nameN=[[Name of Room]] (optional, where N is a number, i.e., place_name2)
| place_desc2=The description of the place. (optional, where N is a number, i.e., place_desc2)
| log=Your log, properly marked up.
}}

This template will create a log page. Log pages should be named with only the name of the log, i.e., A Thing That Happened and should not include the date or anything else in the page title. The RP Logs template automatically sorts the logs by the date you put in the template itself, and has the option to show or not show those dates.

Proper markup includes:

  • each player's name as a separate list element, and surrounded by [[]].
  • if the room is on the grid, the room name should also be surrounded by [[]], so that if it ever has a wiki page with a log section, your log can automagically show up there. (Not done on the example for obvious reasons!)
  • a blank line between each pose, paragraph of a pose, or OOC speaker.
  • a <br /> at the end of each paragraph of a pose except the last, and between OOC lines by the same speaker.
  • <div class="ooc"> at the beginning of each group of OOC lines, and </div> at the end. This includes <OOC> text, dice rolls, etc.
  • <div class="private"> before IC things you wish to include that not everyone could see/hear (such as whispers), and </div> at the end. If you want a murmur or something to be connected to another pose (i.e., 'Bob murmurs something to Alice.' with 'Bob murmurs, "Well, I didn't expect that."' as though it were the next paragraph), use the same <br /> technique as for normal paragraphs.

Example

{{Log
|date=09/15/2016
|time=15:30 EST
|summary=Awkwardness at Starbucks!
|cast=
* [[Alice]]
* [[Bob]]
* [[Cheryl]]
| place_name=Starbucks - Coffeehouse
| place_desc=Long and narrow, the coffeehouse is bright, clean, and always busy. Cafe tables are scattered about the white, tiled floor. The atmosphere is modern, sleek, but slightly sterile. A water cooler with paper cups sits beside the door, providing a cool drink to the homeless, or those awaiting the bus outside. The line is usually long, which keeps the baristas busy behind the wooden counter as they prepare various caffeinated beverages. The room is usually crowded, making it seem somewhat tight, but the windows facing Woodward and Mack provide a visual escape. Behind the glass counters are a wide variety of Zingermann Deli baked goods.
|log=It's a lovely afternoon, and Alice is enjoying a caramel macchiato, the cup of which seems to think it was meant for someone called 'Anise'.

"Oh, hey!  Hi, Alice!" Bob exclaims, heading over with a towering mocha.  "Mind if I join you?"

"Sure, no problem.  Um, as long as you don't mind Cheryl being here too, anyway!"  Alice gives him a grin, and moves her bag off the table so he has somewhere to put his mug.

<div class="ooc">
Cheryl has connected.

<OOC> Alice says, "Hey, Cheryl, Bob showed up while you were DCed."<br />
<OOC> Alice says, "Let's say Cheryl went to the bathroom?"

<OOC> Cheryl says, "Sure, that works for me."
</div>

Cheryl returns from the direction of the bathrooms, and looks briefly surprised to see Alice isn't alone anymore. There's a tiny hesitation before her shoulders and chin both lift a bit and she continues toward the table.<br />
  
"Oh.  Bob.  Hi," she says, as she comes into conversational range.  "Sorry to hear about that terrible accident you had with your dialing finger."

Bob looks confused, glancing down at his hands.  "...what?  My hands are fine."

Alice glances from one of them to the other and takes a large bite of coffee cake, the better to stay out of this one.

"Oh, really?" Cheryl asks sweetly, "Because that's the only acceptable reason I could think of for you failing to call me for three weeks."
}}

Result

Awkwardness at Starbucks!

Date: 09/15/2016

Time: 15:30 EST

Starbucks - Coffeehouse

Long and narrow, the coffeehouse is bright, clean, and always busy. Cafe tables are scattered about the white, tiled floor. The atmosphere is modern, sleek, but slightly sterile. A water cooler with paper cups sits beside the door, providing a cool drink to the homeless, or those awaiting the bus outside. The line is usually long, which keeps the baristas busy behind the wooden counter as they prepare various caffeinated beverages. The room is usually crowded, making it seem somewhat tight, but the windows facing Woodward and Mack provide a visual escape. Behind the glass counters are a wide variety of Zingermann Deli baked goods.

Cast:

It's a lovely afternoon, and Alice is enjoying a caramel macchiato, the cup of which seems to think it was meant for someone called 'Anise'.

"Oh, hey! Hi, Alice!" Bob exclaims, heading over with a towering mocha. "Mind if I join you?"

"Sure, no problem. Um, as long as you don't mind Cheryl being here too, anyway!" Alice gives him a grin, and moves her bag off the table so he has somewhere to put his mug.

Cheryl has connected.

<OOC> Alice says, "Hey, Cheryl, Bob showed up while you were DCed."
<OOC> Alice says, "Let's say Cheryl went to the bathroom?"

<OOC> Cheryl says, "Sure, that works for me."

Cheryl returns from the direction of the bathrooms, and looks briefly surprised to see Alice isn't alone anymore. There's a tiny hesitation before her shoulders and chin both lift a bit and she continues toward the table.

"Oh. Bob. Hi," she says, as she comes into conversational range. "Sorry to hear about that terrible accident you had with your dialing finger."

Bob looks confused, glancing down at his hands. "...what? My hands are fine."

Alice glances from one of them to the other and takes a large bite of coffee cake, the better to stay out of this one.

"Oh, really?" Cheryl asks sweetly, "Because that's the only acceptable reason I could think of for you failing to call me for three weeks."