Difference between revisions of "Template:Log"
(Created page with "<noinclude><nowiki>{{Log </nowiki><br/> | cast=<who's involved> <br/> | setting=<where'd it happen> <br/> | log=<the log itself> <br/> <nowiki>}}</nowiki></noinclude><includeo...") |
|||
(35 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>< | + | {{#css: |
− | | cast= | + | .logpage { |
− | + | border-collapse: collapse; | |
− | | log=< | + | } |
− | < | + | .logpage td { |
− | {| | + | text-align: left; |
− | + | vertical-align: top; | |
− | | class="MainPageBG" width=" | + | } |
− | + | .logpage td { | |
− | + | padding: 1.5em 1.5em 1.5em 0; | |
− | | | + | } |
− | + | .logpage td p:first-child { | |
+ | margin: 0; | ||
+ | } | ||
+ | .summary { | ||
+ | font-weight: bold; | ||
+ | margin: 1em auto 0; | ||
+ | text-align: center; | ||
+ | border-bottom: 1px solid #89A79B; | ||
+ | padding-bottom: 1em; | ||
+ | } | ||
+ | .logdate { | ||
+ | border-bottom: 1px solid #89A79B; | ||
+ | height: 2em; | ||
+ | } | ||
+ | .logpage .setting { | ||
+ | padding: .25em 0 1.5em 2em; | ||
+ | border-left: 1px solid #89A79B; | ||
+ | } | ||
+ | .logpage .setting p { | ||
+ | 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 { | ||
+ | border-top: 1px solid #89A79B; | ||
+ | padding-bottom: 0; | ||
+ | } | ||
+ | .logpage p { | ||
+ | margin: 1.5em 0; | ||
+ | text-indent: 3em; | ||
+ | line-height: 2em; | ||
+ | } | ||
+ | .logpage .log > p:first-child { | ||
+ | margin: 0 0 .75em; | ||
+ | } | ||
+ | .logpage .logdate p, | ||
+ | .logpage .logcast p, | ||
+ | .logpage .place p:first-child { | ||
+ | text-indent: 0; | ||
+ | } | ||
+ | .logpage .logcast p, | ||
+ | .logpage .logdate p { | ||
+ | margin: 0; | ||
+ | } | ||
+ | .logcast p:nth-of-type(2) { | ||
+ | margin-top: 1em; | ||
+ | } | ||
+ | .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-size: .875rem; | ||
+ | font-size: 1rem; | ||
+ | margin: .75em 0; | ||
+ | line-height: 1.5em | ||
+ | } | ||
+ | .logpage .desc b { | ||
+ | display: block; | ||
+ | text-indent: 0; | ||
+ | } | ||
+ | .logpage p > br { | ||
+ | display: block; | ||
+ | height: 0; | ||
+ | margin-top: -1.5em; | ||
+ | content: ""; | ||
+ | } | ||
+ | .logpage .logdate br, | ||
+ | .logpage .ooc br { | ||
+ | margin-top: 0; | ||
+ | } | ||
+ | }}<noinclude> | ||
+ | == Usage == | ||
+ | <pre> | ||
+ | {{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. | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | 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: | ||
+ | |||
+ | * 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 <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 === | ||
+ | <pre style="white-space: pre-wrap; | ||
+ | white-space: -moz-pre-wrap; | ||
+ | white-space: -pre-wrap; | ||
+ | white-space: -o-pre-wrap; | ||
+ | word-wrap: break-word"> | ||
+ | {{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." | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | === Result === | ||
+ | {{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." | ||
+ | }} | ||
+ | [[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"> | ||
+ | <p>'''Date:''' {{{date}}}{{#if: {{{time|}}}|</p><p>'''Time:''' {{{time}}}|}}</p></td> | ||
+ | <td rowspan=2 class="setting" > | ||
+ | {{#forargs: place_name | ||
+ | | num | ||
+ | | name | ||
+ | | <div class="place"> | ||
+ | '''{{#var: name }}''' | ||
+ | |||
+ | {{{place_desc{{#var: num }}|}}} | ||
+ | </div> | ||
+ | }} | ||
+ | </td></tr> | ||
+ | <tr><td class="logcast" > | ||
+ | '''Cast:''' | ||
{{{cast}}} | {{{cast}}} | ||
− | | | + | {{#if: {{{st|}}}| |
− | + | ||
− | + | '''Storyteller:''' | |
− | + | * {{{st}}}|}}</td></tr> | |
− | + | <tr><td colspan=2 class="log" > | |
− | + | {{{log|{{:{{PAGENAME}}/Log}} }}} | |
− | + | </td></tr></table> | |
− | {{{ | + | {{#vardefine: here | {{FULLPAGENAME}} }} |
− | + | {{#ifeq: {{#var:here}} | Template:Log | |[[Category:Logs]]}}</includeonly> | |
− | |} | ||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | {{{ | ||
− | |||
− | |} | ||
− | | | ||
− | |}</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
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> 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." |