Template:HFNewsArticle: Difference between revisions

From Hack Forums Wiki
D3xus (talk | contribs)
No edit summary
D3xus (talk | contribs)
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{Infobox
<div class="HFNewsArticleContent">
|  bodyclass  = hf-infobox
|  bodystyle  = background: #333333; color: #d3d3d3; float: right; border: 1px solid #072948; border-collapse: collapse;
|  above      = {{{NewsTitle}}}
|  abovestyle = color: white; font-weight: bold; background-color: #072948; text-align: center; font-size: 17px;
|  labelstyle = border: 1px solid #072948;
|  datastyle  = border: 1px solid #072948;
|  label1    = Editor in Chief:                  |  data1 = [[{{{NewsEIC}}}|{{White|{{{NewsEIC}}}}}]]
|  label2    = Edition #                          |  data2 = [[{{{NewsEdition}}}]]
|  label3    = Date Published                    |  data3 = [[{{{NewsDatePublish}}}]]
}}
{{#if: {{{NewsBanner|}}}|[[File:{{{NewsBanner}}}|center|link=]]|}}
{{#if: {{{NewsBanner|}}}|[[File:{{{NewsBanner}}}|center|link=]]|}}
<div style="text-align: center; font-style: italic;">
{{#if: {{{SpecialTitle|}}}|Special Edition|{{#if:{{{NewsEdition|}}}|Edition #{{{NewsEdition}}}|Edition # Unknown}}}} | Published by {{{NewsEIC}}} | Released {{{NewsDatePublish}}}
{{#if: {{{SpecialTitle|}}}|{{{SpecialTitle}}}|You are reading Edition #{{{NewsEdition}}} of the [[Hack Forums News]].}} To see other editions of the HF News, go [[:Category:HF News Editions|here]].
</div>
{{#if: {{{SpecialContent|}}}|{{{SpecialContent}}}|
==Headlines==
''Written by {{{HeadlinesAuthor1}}} {{#if:{{{HeadlinesAuthor2|}}}|{{#if:{{{HeadlinesAuthor3|}}}|,&#32;|&#32;&&#32;|}}{{{HeadlinesAuthor2}}}|{{Empty}}}} {{#if:{{{HeadlinesAuthor3|}}}|&{{{HeadlinesAuthor3}}}|{{Empty}}}}''
{{{HeadlinesContent}}}
==User News==
''Written by {{{UserNewsAuthor1}}} {{#if:{{{UserNewsAuthor2|}}}|{{#if:{{{UserNewsAuthor3|}}}|,&#32;|&#32;&&#32;|}}{{{UserNewsAuthor2}}}|{{Empty}}}} {{#if:{{{UserNewsAuthor3|}}}|&{{{UserNewsAuthor3}}}|{{Empty}}}}''
{{{UserNewsContent}}}
==Notable Threads==
''Written by {{{NotableThreadsAuthor1}}} {{#if:{{{NotableThreadsAuthor2|}}}|{{#if:{{{NotableThreadsAuthor3|}}}|,&#32;|&#32;&&#32;|}}{{{NotableThreadsAuthor2}}}|{{Empty}}}} {{#if:{{{NotableThreadsAuthor3|}}}|&{{{NotableThreadsAuthor3}}}|{{Empty}}}}''
{{{NotableThreadsContent}}}
==Interviews==
''By {{{InterviewsAuthor1}}} {{#if:{{{InterviewsAuthor2|}}}|{{#if:{{{InterviewsAuthor3|}}}|,&#32;|&#32;&&#32;|}}{{{InterviewsAuthor2}}}|{{Empty}}}} {{#if:{{{InterviewsAuthor3|}}}|&{{{InterviewsAuthor3}}}|{{Empty}}}}''
{{{InterviewsContent}}}
<!--Custom Section 1-->
{{#if:{{{CustomSection1_Title|}}}|=={{{CustomSection1_Title}}}==
''By {{{CustomSection1_Author1}}} {{#if:{{{CustomSection1_Author2|}}}|{{#if:{{{CustomSection1_Author3|}}}|,&#32;|&#32;&&#32;|}}{{{CustomSection1_Author2}}}|{{Empty}}}} {{#if:{{{CustomSection1_Author3|}}}|&{{{CustomSection1_Author3}}}|{{Empty}}}}''
{{{CustomSection1_Content}}}|{{Empty}}}}


{{#if: {{{Special|}}}|{{{Special}}}|You are reading Edition #{{{NewsEdition}}} of the [[Hack Forums News]]. To see other editions of the HF News, look [[:Category:HF News Editions|here]].}}
<!--Custom Section 2-->
{{#if:{{{CustomSection2_Title|}}}|=={{{CustomSection2_Title}}}==
''By {{{CustomSection2_Author1}}} {{#if:{{{CustomSection2_Author2|}}}|{{#if:{{{CustomSection2_Author3|}}}|,&#32;|&#32;&&#32;|}}{{{CustomSection2_Author2}}}|{{Empty}}}} {{#if:{{{CustomSection2_Author3|}}}|&{{{CustomSection2_Author3}}}|{{Empty}}}}''
{{{CustomSection2_Content}}}|{{Empty}}}}


==Headlines==
<!--Custom Section 3-->
''Written by: {{{HeadlinesAuthor1}}}{{#if:{{{HeadlinesAuthor2|}}}|{{{#if:{{{HeadlinesAuthor3|}}}|, | &nbsp;& |}}{{{HeadlinesAuthor2}}}|{{Empty}}}}{{#if:{{{HeadlinesAuthor3}}}| & {{{HeadlinesAuthor3}}}|{{Empty}}}}''
{{#if:{{{CustomSection3_Title|}}}|=={{{CustomSection3_Title}}}==
''By {{{CustomSection3_Author1}}} {{#if:{{{CustomSection3_Author2|}}}|{{#if:{{{CustomSection3_Author3|}}}|,&#32;|&#32;&&#32;|}}{{{CustomSection3_Author2}}}|{{Empty}}}} {{#if:{{{CustomSection3_Author3|}}}|&{{{CustomSection3_Author3}}}|{{Empty}}}}''
{{{CustomSection3_Content}}}|{{Empty}}}}
 
<!--Custom Section 4-->
{{#if:{{{CustomSection4_Title|}}}|=={{{CustomSection4_Title}}}==
''By {{{CustomSection4_Author1}}} {{#if:{{{CustomSection4_Author2|}}}|{{#if:{{{CustomSection4_Author3|}}}|,&#32;|&#32;&&#32;|}}{{{CustomSection4_Author2}}}|{{Empty}}}} {{#if:{{{CustomSection4_Author3|}}}|&{{{CustomSection4_Author3}}}|{{Empty}}}}''
{{{CustomSection4_Content}}}|{{Empty}}}}
 
<!--Custom Section 5-->
{{#if:{{{CustomSection5_Title|}}}|=={{{CustomSection5_Title}}}==
''By {{{CustomSection5_Author1}}} {{#if:{{{CustomSection5_Author2|}}}|{{#if:{{{CustomSection5_Author3|}}}|,&#32;|&#32;&&#32;|}}{{{CustomSection5_Author2}}}|{{Empty}}}} {{#if:{{{CustomSection5_Author3|}}}|&{{{CustomSection5_Author3}}}|{{Empty}}}}''
{{{CustomSection5_Content}}}|{{Empty}}}}
 
<!--Custom Section 6-->
{{#if:{{{CustomSection6_Title|}}}|=={{{CustomSection6_Title}}}==
''By {{{CustomSection6_Author1}}} {{#if:{{{CustomSection6_Author2|}}}|{{#if:{{{CustomSection6_Author3|}}}|,&#32;|&#32;&&#32;|}}{{{CustomSection6_Author2}}}|{{Empty}}}} {{#if:{{{CustomSection6_Author3|}}}|&{{{CustomSection6_Author3}}}|{{Empty}}}}''
{{{CustomSection6_Content}}}|{{Empty}}}}
 
<!--Custom Section 7-->
{{#if:{{{CustomSection7_Title|}}}|=={{{CustomSection7_Title}}}==
''By {{{CustomSection7_Author1}}} {{#if:{{{CustomSection7_Author2|}}}|{{#if:{{{CustomSection7_Author3|}}}|,&#32;|&#32;&&#32;|}}{{{CustomSection7_Author2}}}|{{Empty}}}} {{#if:{{{CustomSection7_Author3|}}}|&{{{CustomSection7_Author3}}}|{{Empty}}}}''
{{{CustomSection7_Content}}}|{{Empty}}}}
 
<!--Custom Section 8-->
{{#if:{{{CustomSection8_Title|}}}|=={{{CustomSection8_Title}}}==
''By {{{CustomSection8_Author1}}} {{#if:{{{CustomSection8_Author2|}}}|{{#if:{{{CustomSection8_Author3|}}}|,&#32;|&#32;&&#32;|}}{{{CustomSection8_Author2}}}|{{Empty}}}} {{#if:{{{CustomSection8_Author3|}}}|&{{{CustomSection8_Author3}}}|{{Empty}}}}''
{{{CustomSection8_Content}}}|{{Empty}}}}
 
<!--Custom Section 9-->
{{#if:{{{CustomSection9_Title|}}}|=={{{CustomSection9_Title}}}==
''By {{{CustomSection9_Author1}}} {{#if:{{{CustomSection9_Author2|}}}|{{#if:{{{CustomSection9_Author3|}}}|,&#32;|&#32;&&#32;|}}{{{CustomSection9_Author2}}}|{{Empty}}}} {{#if:{{{CustomSection9_Author3|}}}|&{{{CustomSection9_Author3}}}|{{Empty}}}}''
{{{CustomSection9_Content}}}|{{Empty}}}}
 
<!--Custom Section 10-->
{{#if:{{{CustomSection10_Title|}}}|=={{{CustomSection10_Title}}}==
''By {{{CustomSection10_Author1}}} {{#if:{{{CustomSection10_Author2|}}}|{{#if:{{{CustomSection10_Author3|}}}|,&#32;|&#32;&&#32;|}}{{{CustomSection10_Author2}}}|{{Empty}}}} {{#if:{{{CustomSection10_Author3|}}}|&{{{CustomSection10_Author3}}}|{{Empty}}}}''
{{{CustomSection10_Content}}}|{{Empty}}}}
 
<!--Custom Section 11-->
{{#if:{{{CustomSection11_Title|}}}|=={{{CustomSection11_Title}}}==
''By {{{CustomSection11_Author1}}} {{#if:{{{CustomSection11_Author2|}}}|{{#if:{{{CustomSection11_Author3|}}}|,&#32;|&#32;&&#32;|}}{{{CustomSection11_Author2}}}|{{Empty}}}} {{#if:{{{CustomSection11_Author3|}}}|&{{{CustomSection11_Author3}}}|{{Empty}}}}''
{{{CustomSection11_Content}}}|{{Empty}}}}
 
<!--Custom Section 12-->
{{#if:{{{CustomSection12_Title|}}}|=={{{CustomSection12_Title}}}==
''By {{{CustomSection12_Author1}}} {{#if:{{{CustomSection12_Author2|}}}|{{#if:{{{CustomSection12_Author3|}}}|,&#32;|&#32;&&#32;|}}{{{CustomSection12_Author2}}}|{{Empty}}}} {{#if:{{{CustomSection12_Author3|}}}|&{{{CustomSection12_Author3}}}|{{Empty}}}}''
{{{CustomSection12_Content}}}|{{Empty}}}}
}}
[[Category:HF News Editions]]
</div>
</includeonly>
</includeonly>
<noinclude>
This page is to be used on all Hack Forums News editions. Please see below for documentation.
==Documentation==
===NewsBanner===
The file name of the banner to be used at the top of this edition of the news. '''Required.'''
===NewsEdition===
The number of this edition of the HF News. If unknown, leave blank.
===NewsEIC===
The Editor in Chief/Publisher of this edition of the HF News. '''Required.'''
===NewsDatePublish===
The date this edition of the HF News was published.
===SpecialTitle===
The title of this special edition of the HF News.
===SpecialContent===
The content of this special edition of the HF News. This will override all other content; nothing but what is specified here will be shown on the page.
===HeadlinesAuthor''N''===
Where N is a number up to (and including) 3
The username of the ''N''th author of the Headlines. Link internally or externally here.
===HeadlinesContent===
Contents of the Headlines.
===UserNewsAuthor''N''===
Where N is a number up to (and including) 3
The username of the ''N''th author of the User News. Link internally or externally here.
===UserNewsContent===
Contents of the User News.
===NotableThreadsAuthor''N''===
Where N is a number up to (and including) 3
The username of the ''N''th author of the Notable Threads. Link internally or externally here.
===NotableThreadsContent===
Contents of the Notable Threads.
===InterviewsAuthor''N''===
Where N is a number up to (and including) 3
The username of the ''N''th author of the Interviews. Link internally or externally here.
===InterviewsContent===
Content of the Interviews.
===CustomSection''N''_Title===
Where N is a number up to (and including) 12
The title of the ''N''th custom section of this edition of the HF News.
===CustomSection''N''_Author''X''===
Where N is a number up to (and including) 12 corresponding with the custom section number, and X is a number up to (and including) 3 corresponding to the author number of this custom section
The username of the ''X''th author of the ''N''th custom section. Link internally or externally here.
===CustomSection''N''_Content===
Where N is a number up to (and including) 12
Content of the ''N''th custom scetion.
<pre>
{{HFNewsArticle
| NewsEdition            =
| NewsEIC                =
| NewsDatePublish        =
| HeadlinesAuthor1        =
| HeadlinesContent        =
| UserNewsAuthor1        =
| UserNewsContent        =
| NotableThreadsAuthor1  =
| NotableThreadsContent  =
| InterviewsAuthor1      =
| InterviewsContent      =
| CustomSection1_Title    =
| CustomSection1_Author1  =
| CustomSection1_Content  =
}}
</pre>
</noinclude>

Latest revision as of 14:57, 19 July 2015


This page is to be used on all Hack Forums News editions. Please see below for documentation.

Documentation

NewsBanner

The file name of the banner to be used at the top of this edition of the news. Required.

NewsEdition

The number of this edition of the HF News. If unknown, leave blank.

NewsEIC

The Editor in Chief/Publisher of this edition of the HF News. Required.

NewsDatePublish

The date this edition of the HF News was published.

SpecialTitle

The title of this special edition of the HF News.

SpecialContent

The content of this special edition of the HF News. This will override all other content; nothing but what is specified here will be shown on the page.

HeadlinesAuthorN

Where N is a number up to (and including) 3

The username of the Nth author of the Headlines. Link internally or externally here.

HeadlinesContent

Contents of the Headlines.

UserNewsAuthorN

Where N is a number up to (and including) 3

The username of the Nth author of the User News. Link internally or externally here.

UserNewsContent

Contents of the User News.

NotableThreadsAuthorN

Where N is a number up to (and including) 3

The username of the Nth author of the Notable Threads. Link internally or externally here.

NotableThreadsContent

Contents of the Notable Threads.

InterviewsAuthorN

Where N is a number up to (and including) 3

The username of the Nth author of the Interviews. Link internally or externally here.

InterviewsContent

Content of the Interviews.

CustomSectionN_Title

Where N is a number up to (and including) 12

The title of the Nth custom section of this edition of the HF News.

CustomSectionN_AuthorX

Where N is a number up to (and including) 12 corresponding with the custom section number, and X is a number up to (and including) 3 corresponding to the author number of this custom section

The username of the Xth author of the Nth custom section. Link internally or externally here.

CustomSectionN_Content

Where N is a number up to (and including) 12

Content of the Nth custom scetion.

{{HFNewsArticle
| NewsEdition             = 
| NewsEIC                 = 
| NewsDatePublish         = 
| HeadlinesAuthor1        = 
| HeadlinesContent        = 
| UserNewsAuthor1         = 
| UserNewsContent         = 
| NotableThreadsAuthor1   = 
| NotableThreadsContent   = 
| InterviewsAuthor1       = 
| InterviewsContent       = 
| CustomSection1_Title    = 
| CustomSection1_Author1  = 
| CustomSection1_Content  = 
}}