Template:Post: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(tweaked include and noinclude, reorg of the template page elements)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#switch:{{{obsolete}}}|y|yes|true={{obsolete}}|}}
<includeonly>{{#switch:{{{obsolete}}}|y|yes|true={{obsolete}}|}}
{| border="2" width="100%" align="center"
{| class="wikitable" width="100%" align="center"
! align="center" | <u>{{{t|?}}}</u> · on {{#if:{{{d|}}}|[[posted on::{{{d}}}]]|?}} !! align="center" width="7%" | {{{n|?}}}<includeonly>[[page type is::post| ]]</includeonly>
! align="center" | <u>{{{t|?}}}</u> · on {{#if:{{{d|}}}|[[posted on::{{{d}}}]]|?}} !! align="center" width="7%" | {{{n|?}}}[[page type is::post| ]]
|-
|-
| colspan=2 align="left" | {{{p|Empty Post!}}}
| colspan="2" style="text-align:left; padding: 1em;" | {{{p|Empty Post!}}}
|-
|-
| 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>
| 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.{{#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::@@@@| ]]| }}}}}}
|}<noinclude>
|}</includeonly><noinclude>
<pre>

{{Post
|t=
|d=
|n=
|a=
|f=
|p=
|sub=
}}
</pre>


==Usage Documentation==
==Usage Documentation==
Line 14: Line 24:
''Be sure to refer to the [[Elanthipedia:Manual_of_Style/Posts]] before using this template!''
''Be sure to refer to the [[Elanthipedia:Manual_of_Style/Posts]] before using this template!''


{| border="1"
{| class="wikitable"
| t || Title of the post
| t || Title of the post
|-
|-
Line 36: Line 46:
|}
|}
{{cat|Templates}}
{{cat|Templates}}

<pre>
{{Post
|t=
|d=
|n=
|a=
|f=
|p=
|sub=
}}
</pre>
</noinclude>
</noinclude>

Latest revision as of 10:32, 14 April 2022

{{Post
|t=
|d=
|n=
|a=
|f=
|p=
|sub=
}}

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.