Difference between revisions of "Template:Log"

From NorCon MUSH
 
(232 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOEDITSECTION__ __NOTOC__
+
<includeonly>__NOCACHE__{| width="100%"
<includeonly>
+
! <center>{{BASEPAGENAME}}</center>
{| width="600"
+
{{#ifeq: {{{quote| }}} | | |
! class="center" colspan="2" | {{BASEPAGENAME}}
+
{{#ifeq: {{{subtitle| }}} | | |
+
 
{{!}}-
 
{{!}}-
{{!}} class="center" colspan="2" {{!}} <h4> ''{{{subtitle}}}'' </h4> }}
+
{{!}} <center>''{{{quote}}}''</center> }}
 
|-
 
|-
| class="cast" | '''Dramatis Personae'''
+
| '''RL Date''': {{#ifeq: {{{gamedatename| }}} | | {{Date | {{{gamedate|0000.00.00}}} }} | {{{gamedatename}}} }} {{#set:has date={{{gamedate}}}}} {{#set:has year={{#explode:{{{gamedate}}}|.|0}}}} {{#set:has month={{#explode:{{{gamedate}}}|.|1}}}} {{#set:Has day={{#explode:{{{gamedate}}}|.|2}}}} {{#set:month-year={{#explode:{{{gamedate}}}|.|0}}.{{#explode:{{{gamedate}}}|.|1}}}}
 
+
{{{cast}}}
+
| <p class="right">{{#ifeq: {{{gamedatename| }}} | | {{Date | {{{gamedate|0000.00.00}}} }} | {{{gamedatename}}} }}</p><br />
+
 
+
''{{{summary}}}''
+
 
|-
 
|-
| colspan="2" | <hr>
+
| {{#ifeq: {{{who| }}} | | | '''Who''': [[in log::{{#replace:{{#regex:{{{who}}}|/,$/| }}|,| {{RB}}, {{LB}}in log:: }} ]] }}
 
+
|-
 +
| {{#ifeq: {{{involves| }}} | | {{#ifeq: {{{Involves| }}} | | | '''Involves''': [[Involves::{{#replace:{{#regex:{{{Involves}}}|/,$/| }}|,| {{RB}}, {{LB}}Involves::}} ]] }} | '''Involves''': [[Involves::{{#replace:{{#regex:{{{involves}}}|/,$/| }}|,| {{RB}}, {{LB}}Involves::}} ]] }}
 +
|-
 +
| '''Type''': [[Concept:{{{type}}}{{!}}{{{type}}}]] {{#set:Type={{{type}}}}}
 +
|-
 +
| {{#ifeq: {{{what| }}} | | | '''What''': {{{what}}} {{#set:what={{{what}}}}} }}
 +
|-
 +
| {{#ifeq: {{{where| }}} | | | '''Where''': {{{where}}} {{#set:Location={{{where}}}}} }}
 +
|-
 +
| {{#ifeq: {{{custom| }}} | | '''When''': Day [[day::{{{day}}}]], Month [[month::{{{month}}}]], Turn [[turn::{{{turn}}}]] ([[IP::{{{IP}}}]] [[IP2::{{{IP2}}}]]) | '''When''': {{{custom}}} {{#set:day={{{day}}}}} {{#set:month={{{month}}}}} {{#set:turn={{{turn}}}}} {{#set:IP={{{IP}}}}} {{#set:IP2={{{IP2}}}}} }}
 +
|-
 +
| {{#ifeq: {{{weather| }}} | | | '''Weather''': {{{weather}}} }}
 +
|-
 +
| {{#ifeq: {{{mentions| }}} | | | '''Mentions''': {{#ifeq: {{{mentions| }}} | | | [[mentioned::{{#replace:{{#regex:{{{mentions}}}|/,$/| }}|,|/Mentions{{RB}}, {{LB}}mentioned::}}/Mentions]] }} }}
 +
|-
 +
| {{#ifeq: {{{st| }}} | | | '''Storyteller''': {{#ifeq: {{{st| }}} | | | [[In log::{{#replace:{{#regex:{{{st}}}|/,$/| }}|,|/ST{{RB}}, {{LB}}In log::}}/ST]] }} }}
 +
|-
 +
| {{#ifeq: {{{ooc| }}} | | | '''OOC Notes''': ''{{{ooc}}}'' }}
 +
|-
 +
| {{#ifeq: {{{icons| }}} | | | <hr><hr><div class="circular"><center>[[Image:Icon {{#replace:{{{icons}}}|,|{{!}}100x100px{{RB}} {{LB}}Image:Icon}}{{!}}100x100px]]</center></div> }}
 +
|-
 +
| {{#ifeq: {{{icons-new| }}} | | | <hr><hr><div class="circular"><center>[[Image: {{#replace:{{#regex:{{{icons-new}}}|/,$/| }}|,|{{!}}100x100px{{RB}} {{LB}}Image:}}{{!}}100x100px]]</center></div> }}
 +
|-
 +
| <hr><hr>{{#ifeq: {{{desc| }}} | | | <div class="toccolours mw-collapsible mw-collapsed">{{Pre|{{{desc}}}}} <hr></div><br/>}}
 
{{{log}}}
 
{{{log}}}
 
|}
 
|}
[[Category:RP Logs|{{BASEPAGENAME}}]]{{#ifeq: {{{categories| }}} | | | [[Category:{{#replace:{{{categories}}}|,| &nbsp;Logs{{!}}{{BASEPAGENAME}}{{RB}}{{LB}}Category: }} Logs{{!}}{{BASEPAGENAME}} ]] }}</includeonly><noinclude>
+
{{Comments}}
{| width="600"
+
{{#set:Sort={{#pad:{{{IP2}}}|2|0|left}}.{{#ifeq: {{{IP}}}|Interval|1|0}}.{{#pad:{{{turn}}}|3|0|left}}.{{#pad:{{{month}}}|2|0|left}}.{{#pad:{{{day}}}|2|0|left}}}}
! class="center" colspan="2" | The Reach Log Template
+
{{#set:When=Day {{{day}}}, Month {{{month}}}, Turn {{{turn}}} ({{{IP}}} {{{IP2}}})}}
 +
{{DEFAULTCATEGORYSORT:^In the {{#pad:{{{IP2}}}|2|0|left}}th {{#ifeq: {{{IP}}}|Interval|Interval|(Pass)}}, Turn {{#pad:{{{turn}}}|3|0|left}}^{{#pad:{{{IP2}}}|2|0|left}}.{{#ifeq: {{{IP}}}|Interval|1|0}}.{{#pad:{{{turn}}}|3|0|left}}.{{#pad:{{{month}}}|2|0|left}}.{{#pad:{{{day}}}|2|0|left}}}}
 +
{{#arraymap:{{{Categories|}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}}
 +
{{#set:logsize={{PAGESIZE: {{FULLPAGENAME}} |R}}}}
 +
[[Category:RP Logs]]{{#ifeq: {{{categories| }}} | | | [[Category:{{#replace:{{{categories}}}|,| &nbsp;Logs{{RB}}{{LB}}Category: }} Logs]] }}
 +
</includeonly><noinclude>
 +
{| width="100%"
 +
! class="center" | <center>Log Title</center>
 
|-
 
|-
| class="center" colspan="2" | <h4> ''Here goes a subtitle, if you have one'' </h4>
+
| class="center" | <center>''Here goes a quote, if you have one''</center>
 
|-
 
|-
| class="cast" | '''Dramatis Personae'''
+
| '''RL Date''': The RL date will go here.
 
+
The PCs and NPCs involved in the log will be listed here.
+
| <p class="right">{{Date | 2010.07.26 }}</p><br />
+
 
+
''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.''
+
 
|-
 
|-
| colspan="2" | <hr>
+
| '''Who''': Comma-delineated list of the characters who played.
 
+
|-
 +
| '''What''': A summary of your log.
 +
|-
 +
| '''Where''': Your IC location(s).
 +
|-
 +
| '''When''': The IC date.
 +
|-
 +
| '''Weather''': Weather, if you really want to add it. You don't have to.
 +
|-
 +
| '''Mentions''': Comma-delineated list of characters mentioned.
 +
|-
 +
| '''OOC''': Any OOC notes you want to add.
 +
|-
 +
| class="center" | <center>Icons to upload if they float your boat.</center>
 +
|-
 +
| <p><hr></p><br>
 
<pre>
 
<pre>
 
{{ Log
 
{{ Log
| cast =  
+
| who =  
| summary =  
+
| where =
 +
| what =
 +
| when =  
 
| gamedate = YYYY.MM.DD
 
| gamedate = YYYY.MM.DD
| gamedatename =  
+
| quote =  
| subtitle =  
+
| weather =  
| categories = Vampire, Werewolf, Mortal+, Crime
+
| categories = General, Weyrling, Exiles, etc...
 +
| mentions =
 +
| ooc =
 +
| icons = image.jpg, image2.png
 
| log =  
 
| log =  
 +
 
}}
 
}}
 
</pre>
 
</pre>
  
Most of this is self-explanatory. The two fiddly fields are gamedate and categories.
+
* Who: Who took part in the RP. (Required)
# '''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.
+
* Where: Where the RP took place. (Required)
# '''Categories''' requires a comma-delimited list of the categories (not <nowiki>[[Category:]]</nowiki> 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').
+
* What: A summary of the RP. (Required)
 +
* When: The IC date the RP took place. (Required)
 +
* Gamedate: The day the RP took place. If this is backdated, please note that you should try to find an RL date that corresponds best with the IC date you want this to be. Check +help time2 on the game. (Required)
 +
* Quote: A quote if you wish to include one. You don't have to include this.
 +
* Weather: The weather if you want to include it. Also not required.
 +
* Categories: List what RP categories to put them under, delineate with commas.
 +
* Mentions: Not required, but it's sometimes nice to include those people who are mentioned in a log.
 +
* OOC: Any OOC notes you want to include. Not required.
 +
* Icons: This will allow you to attach an icon to the log. If you already know the name of the icon, please use that. All icons will be saved as icon_<image> or icon_<image2> as listed above. If you have any questions, please contact an admin on game. This needs to be a coma-delineated list.
 +
* Log: The log itself. It will auto double space each paragraph.
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 03:50, 6 January 2016

Log Title
Here goes a quote, if you have one
RL Date: The RL date will go here.
Who: Comma-delineated list of the characters who played.
What: A summary of your log.
Where: Your IC location(s).
When: The IC date.
Weather: Weather, if you really want to add it. You don't have to.
Mentions: Comma-delineated list of characters mentioned.
OOC: Any OOC notes you want to add.
Icons to upload if they float your boat.



{{ Log
| who = 
| where = 
| what = 
| when = 
| gamedate = YYYY.MM.DD
| quote = 
| weather = 
| categories = General, Weyrling, Exiles, etc...
| mentions = 
| ooc = 
| icons = image.jpg, image2.png
| log = 

}}
  • Who: Who took part in the RP. (Required)
  • Where: Where the RP took place. (Required)
  • What: A summary of the RP. (Required)
  • When: The IC date the RP took place. (Required)
  • Gamedate: The day the RP took place. If this is backdated, please note that you should try to find an RL date that corresponds best with the IC date you want this to be. Check +help time2 on the game. (Required)
  • Quote: A quote if you wish to include one. You don't have to include this.
  • Weather: The weather if you want to include it. Also not required.
  • Categories: List what RP categories to put them under, delineate with commas.
  • Mentions: Not required, but it's sometimes nice to include those people who are mentioned in a log.
  • OOC: Any OOC notes you want to include. Not required.
  • Icons: This will allow you to attach an icon to the log. If you already know the name of the icon, please use that. All icons will be saved as icon_<image> or icon_<image2> as listed above. If you have any questions, please contact an admin on game. This needs to be a coma-delineated list.
  • Log: The log itself. It will auto double space each paragraph.