Template:Editorial: Difference between revisions

From Hattrick
Jump to navigationJump to search
Jhattara (talk | contribs)
replaced category "Editorials" with a temporary category "Templated editorials" to make it easier to see which editorials don't use this template yet
Jhattara (talk | contribs)
No edit summary
Line 7: Line 7:
{{{text}}}
{{{text}}}


<div style="border-top:1px solid #000;">'''[[{{{author}}}]]'''</div>
<div style="border-top:1px solid #000;">'''[[{{{author}}}]]'''</div><includeonly>
<includeonly>
{{DEFAULTSORT:{{#if:{{{sort|}}}|{{{sort}}}|{{PAGENAME}}}}}}
{{DEFAULTSORT:{{#if:{{{sort|}}}|{{{sort}}}|{{PAGENAME}}}}}}
[[Category:Templated editorials]]
[[Category:Templated editorials]]
[[Category:Editorials by {{{author}}}]]
[[Category:Editorials by {{{author}}}]]
[[Category:Editorials published in {{#time:Y|{{{datetime}}}}}]]
[[Category:Editorials published in {{#time:Y|{{{datetime}}}}}]]
</includeonly>
</includeonly><noinclude>
<noinclude>
{{documentation}}
{{documentation}}
[[Category:Templates|Editorial]]
[[Category:Templates|Editorial]]
</noinclude>
</noinclude>

Revision as of 09:21, 16 May 2010

This is an official Hattrick Editorial originally published in {{{datetime}}}.

{{{text}}}

[[{{{author}}}]]

[edit] Template documentation

Usage

{{editorial
| datetime = 
| text = 
| author = 
| sort = 
}}
datetime
When the editorial was written.
text
Contents of the editorial.
author
Who wrote the editorial.
sort
If the editorial needs to be sorted by something else than it's title (e.g. if the title starts with "The").