Difference between revisions of "Template:Log"

From NorCon MUSH
 
(195 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOEDITSECTION__ __NOTOC__
+
<includeonly>__NOCACHE__{| width="100%"
{{#css:
+
! <center>{{BASEPAGENAME}}</center>
#content table h4 {
+
padding: 0;
+
margin: 0;
+
color: #303030;
+
}
+
#content table td.cast {
+
min-width: 210px;
+
padding-right: 10px;
+
}
+
p {
+
text-align: justify;
+
margin-bottom: 2em;
+
}
+
p.right {
+
float: right;
+
margin: 0;
+
padding: 0;
+
}
+
}}
+
<includeonly>
+
{| width="800"
+
! class="center" | {{BASEPAGENAME}}
+
 
{{#ifeq: {{{quote| }}} | | |
 
{{#ifeq: {{{quote| }}} | | |
 
{{!}}-
 
{{!}}-
{{!}} class="center" {{!}} ''{{{quote}}}'' }}
+
{{!}} <center>''{{{quote}}}''</center> }}
 
|-
 
|-
| '''RL Date''': {{#ifeq: {{{gamedatename| }}} | | {{Date | {{{gamedate|0000.00.00}}} }} | {{{gamedatename}}} }}
+
| '''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}}}}
 
|-
 
|-
| '''Who''': {{#ifeq: {{{who| }}} | | | [[{{#replace:{{{who}}}|,| {{RB}}, {{LB}} }} ]] }}
+
| {{#ifeq: {{{who| }}} | | | '''Who''': [[in log::{{#replace:{{#regex:{{{who}}}|/,$/| }}|,| {{RB}}, {{LB}}in log:: }} ]] }}
 
|-
 
|-
| '''What''': {{{what}}}
+
| {{#ifeq: {{{involves| }}} | | {{#ifeq: {{{Involves| }}} | | | '''Involves''': [[Involves::{{#replace:{{#regex:{{{Involves}}}|/,$/| }}|,| {{RB}}, {{LB}}Involves::}} ]] }} | '''Involves''': [[Involves::{{#replace:{{#regex:{{{involves}}}|/,$/| }}|,| {{RB}}, {{LB}}Involves::}} ]] }}
 
|-
 
|-
| '''Where''': {{{where}}}
+
| '''Type''': [[Concept:{{{type}}}{{!}}{{{type}}}]] {{#set:Type={{{type}}}}}
 
|-
 
|-
| '''When''': {{{when}}}
+
| {{#ifeq: {{{what| }}} | | | '''What''': {{{what}}} {{#set:what={{{what}}}}} }}
 
|-
 
|-
| '''Weather''': {{{weather}}}
+
| {{#ifeq: {{{where| }}} | | | '''Where''': {{{where}}} {{#set:Location={{{where}}}}} }}
 
|-
 
|-
| {{#ifeq: {{{mentions| }}} | | | '''Mentions''': {{#ifeq: {{{mentions| }}} | | | [[Mention:{{#replace:{{{mentions}}}|, | {{RB}}, {{LB}}Mention }} ]] }} }}
+
| {{#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}}}}} }}
 
|-
 
|-
| class="center" | {{#ifeq: {{{icons| }}} | | | [[Image:icon {{#replace:{{{icons}}}|,|{{!}}100px{{!}}100px{{RB}} {{LB}}Image:icon}}{{!}}100px{{!}}100px]] }}
+
| {{#ifeq: {{{weather| }}} | | | '''Weather''': {{{weather}}} }}
 
|-
 
|-
| <P><hr></P>
+
| {{#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|{{{gamedate|0000.00.00}}}]]{{#ifeq: {{{categories| }}} | | | [[Category:{{#replace:{{{categories}}}|,| &nbsp;Logs{{!}}{{{gamedate|0000.00.00}}}{{RB}}{{LB}}Category: }} Logs{{!}}{{{gamedate|0000.00.00}}}]] }}</includeonly><noinclude>
+
{{Comments}}
{| width="800"
+
{{#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" | Log Title
+
{{#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" | ''Here goes a quote, if you have one''
+
| class="center" | <center>''Here goes a quote, if you have one''</center>
 
|-
 
|-
 
| '''RL Date''': The RL date will go here.
 
| '''RL Date''': The RL date will go here.
Line 67: Line 61:
 
| '''Mentions''': Comma-delineated list of characters mentioned.
 
| '''Mentions''': Comma-delineated list of characters mentioned.
 
|-
 
|-
| class="center" | Icons to upload if they float your boat.
+
| '''OOC''': Any OOC notes you want to add.
 +
|-
 +
| class="center" | <center>Icons to upload if they float your boat.</center>
 
|-
 
|-
| <p><hr></p>
+
| <p><hr></p><br>
 
<pre>
 
<pre>
 
{{ Log
 
{{ Log
Line 81: Line 77:
 
| categories = General, Weyrling, Exiles, etc...
 
| categories = General, Weyrling, Exiles, etc...
 
| mentions =  
 
| mentions =  
 +
| ooc =
 
| icons = image.jpg, image2.png
 
| icons = image.jpg, image2.png
 
| log =  
 
| log =  
Line 96: Line 93:
 
* Categories: List what RP categories to put them under, delineate with commas.
 
* 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.
 
* 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.
 
* 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.
 
* 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.