Difference between revisions of "Template:LogList"

From Masq
m
m
Line 26: Line 26:
 
<pre>
 
<pre>
 
{{LogList
 
{{LogList
|the_log=Link to page name
+
|the_log~Link to page name
|my_title=Title you'd prefer to use, if not the default
+
|my_title~Title you'd prefer to use, if not the default
|description=Your description of the scene.
+
|description~Your description of the scene.
 
}}
 
}}
 
</pre>
 
</pre>
Line 37: Line 37:
 
<pre>
 
<pre>
 
{{LogList
 
{{LogList
|the_log=[[Jai - Fork In The Road]]
+
|the_log~[[Jai - Fork In The Road]]
|description=In which Petra presents Jai with a decent proposal, for a change.
+
|description~In which Petra presents Jai with a '''decent''' proposal, for a change.
 
}}
 
}}
 
</pre>
 
</pre>
 
The basic use, giving you:
 
The basic use, giving you:
 
{{LogList
 
{{LogList
|the_log=[[Jai - Fork In The Road]]
+
|the_log~[[Jai - Fork In The Road]]
|description=In which Petra presents Jai with a decent proposal, for a change.
+
|description~In which Petra presents Jai with a '''decent''' proposal, for a change.
 
}}
 
}}
  
Line 51: Line 51:
 
<pre>
 
<pre>
 
{{LogList
 
{{LogList
|the_log=[[Jai - Fork In The Road]]
+
|the_log~[[Jai - Fork In The Road]]
|my_title=This Is The Title I Prefer
+
|my_title~This Is The Title I Prefer
|description=In which Petra presents Jai with a decent proposal, for a change.
+
|description~In which Petra presents Jai with a '''decent''' proposal, for a change.
 
}}
 
}}
 
</pre>
 
</pre>
Line 59: Line 59:
 
Including it is the second option, giving you:
 
Including it is the second option, giving you:
 
{{LogList
 
{{LogList
|the_log=[[Jai - Fork In The Road]]
+
|the_log~[[Jai - Fork In The Road]]
|my_title=This Is The Title I Prefer
+
|my_title~This Is The Title I Prefer
|description=In which Petra presents Jai with a decent proposal, for a change.
+
|description~In which Petra presents Jai with a '''decent''' proposal, for a change.
 
}}
 
}}
  
You'll need to paste a separate instance of this template into your AdvLog page for each log you want in your formatted list.
+
This template is slightly trickier to use than most.  You only need one instance of this template, with a "the_log", a optional "my_title", and a "description" for each log you list.  They need to be in order (the_log, my_title if used, description) and please note that the parameters are set off by a ~, '''not''' a =.  If you don't do it this way, it won't work!  Using a ~ in any of your log names/titles/description will also not work as expected.  
 
[[Category: Templates]]</noinclude>
 
[[Category: Templates]]</noinclude>

Revision as of 04:43, 12 February 2013

Usage

{{LogList
|the_log~Link to page name
|my_title~Title you'd prefer to use, if not the default
|description~Your description of the scene.
}}

This is a helper template to format AdvLog pages.

Examples

{{LogList
|the_log~[[Jai - Fork In The Road]]
|description~In which Petra presents Jai with a '''decent''' proposal, for a change.
}}

The basic use, giving you:

09/12/2009 09/12/2009: Fork In The Road
In which Petra presents Jai with a decent proposal, for a change.


If you're fine with the default title, leave the 'my_title' line out entirely.

{{LogList
|the_log~[[Jai - Fork In The Road]]
|my_title~This Is The Title I Prefer
|description~In which Petra presents Jai with a '''decent''' proposal, for a change.
}}

Including it is the second option, giving you:

09/12/2009 09/12/2009: This Is The Title I Prefer
In which Petra presents Jai with a decent proposal, for a change.


This template is slightly trickier to use than most. You only need one instance of this template, with a "the_log", a optional "my_title", and a "description" for each log you list. They need to be in order (the_log, my_title if used, description) and please note that the parameters are set off by a ~, not a =. If you don't do it this way, it won't work! Using a ~ in any of your log names/titles/description will also not work as expected.