Template:Post: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
(21 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#switch:{{{obsolete}}}|y|yes|true={{obsolete}}|}}
{| border="2" width="100%" align="center"
{| border="2" width="100%" align="center"
! align="center" | <u>{{{t|?}}}</u> · on {{{d|?}}} !! align="center" width="7%" | {{{n|?}}}
! align="center" | <u>{{{t|?}}}</u> · on {{#if:{{{d|}}}|[[posted on::{{{d}}}]]|?}} !! align="center" width="7%" | {{{n|?}}}<includeonly>[[page type is::post| ]]</includeonly>
|-
|-
| colspan=2 | {{{p|Empty Post!}}}
| colspan=2 align="left" | {{{p|Empty Post!}}}
|-
|-
| colspan=2 | This message was originally posted in ''{{{f|an unknown folder}}}'', by '''{{{a|an unknown author}}}''' on the play.net forums.<includeonly>{{#if:{{{list|}}}|[[Category:Forum Posts|{{{list}}}]]|{{cat|Forum Posts}}}}</includeonly>
| colspan=2 | This message was originally posted in ''{{{f|an unknown folder}}}'', by '''{{#if:{{{a|}}}|[[posted by::{{{a}}}]]|an unknown author}}''' on the play.net forums.<includeonly>{{#switch:{{{obsolete}}}|y|yes|true=|{{#if:{{{list|}}}|[[Category:Forum posts|{{{list}}}]]|{{cat|Forum posts}}}}{{#if:{{{c|}}}|{{#arraymaptemplate:{{{c}}}|Template:PostType|,|}}|[[missing::categorization| ]]}}{{#if:{{{sub|}}}|{{#arraymap:{{{sub}}}|,|@@@@|[[post relates to::@@@@| ]]| }}}}}}</includeonly>
|}<noinclude>
|}<noinclude>




==Usage Documentation==
==Usage Documentation==
This is a template for replicating play.net forum posts to retain information against their eventual purge.<br />
This is a template for replicating play.net forum posts to retain information against their eventual purge.

''Be sure to refer to the [[Elanthipedia:Manual_of_Style/Posts]] before using this template!''


{| border="1"
{| border="1"
Line 21: Line 24:
|-
|-
| a || Author of the post (play.net account)
| a || Author of the post (play.net account)
|-
| c || The type of post this is. Valid options are m (mechanics), r (game lore), e (events), l (logs), d (development), p (policy), and/or o (obsolete). Multiple types should be separated by ,s.
|-
|-
| p || Contains the body of the post.
| p || Contains the body of the post.
|-
| sub || Subjects the post talks about. Used to automatically populate to [[Template:RefAl]].
|-
|-
| list || If the name is odd, you can optionally add where it will be listed in [[:Category:Forum Posts]] with this variable.
| list || If the name is odd, you can optionally add where it will be listed in [[:Category:Forum Posts]] with this variable.
|-
| obsolete || if set to yes or true, will prevent category inclusion.
|}
|}
{{cat|Templates}}
{{cat|Templates}}
Line 36: Line 45:
|f=
|f=
|p=
|p=
|sub=
}}
}}
</pre>
</pre>

Revision as of 14:32, 11 January 2016

? · on ? ?
Empty Post!
This message was originally posted in an unknown folder, by an unknown author on the play.net forums.


Usage Documentation

This is a template for replicating play.net forum posts to retain information against their eventual purge.

Be sure to refer to the Elanthipedia:Manual_of_Style/Posts before using this template!

t Title of the post
d Date and time of the post
n Number of the post
f Is the forum folder where it was posted
a Author of the post (play.net account)
c The type of post this is. Valid options are m (mechanics), r (game lore), e (events), l (logs), d (development), p (policy), and/or o (obsolete). Multiple types should be separated by ,s.
p Contains the body of the post.
sub Subjects the post talks about. Used to automatically populate to Template:RefAl.
list If the name is odd, you can optionally add where it will be listed in Category:Forum Posts with this variable.
obsolete if set to yes or true, will prevent category inclusion.
{{Post
|t=
|d=
|n=
|a=
|f=
|p=
|sub=
}}