Template:ForumBox: Difference between revisions

From Hack Forums Wiki
D3xus (talk | contribs)
No edit summary
D3xus (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{Infobox
{{Infobox
|  bodystyle = overflow: auto; width: 25%; background: #333333; color: #d3d3d3;
|  bodystyle = overflow: auto; width: 25%; background: #333333; color: #d3d3d3; border: 1px solid black;
|  above     = <u>{{{ForumName}}}</u>
|  above     = <u>{{{ForumName}}}</u>
|  image     = {{#if: {{{ForumPic|}}}|[[File:{{{ForumPic}}}|center]]|}}
|  image     = {{#if: {{{ForumPic|}}}|[[File:{{{ForumPic}}}|center]]|}}
|  label1   = FID:                             |  data1 = {{#if: {{{FID|}}}|[http://www.hackforums.net/forumdisplay.php?fid={{{FID}}} <span style="color: white">'''{{{FID}}}'''</span>]|N/A}}
|  label1     = FID:                               |  data1 = {{#if: {{{FID|}}}|[http://www.hackforums.net/forumdisplay.php?fid={{{FID}}} <span style="color: white">'''{{{FID}}}'''</span>]|N/A}}
|  label2   = Status:                         |  data2 = {{{Status}}}
|  label2     = Status:                           |  data2 = {{{Status}}}
|  label3   = Post Count:                      |  data3 = {{#ifeq:{{{PostCount|}}}|N/A|N/A|~{{{PostCount}}}}}
|  label3     = Post Count:                      |  data3 = {{#ifeq:{{{PostCount|}}}|N/A|N/A|~{{{PostCount}}}}}
|  label4   = Thread Count:                   |  data4 = {{#ifeq:{{{ThreadCount|}}}|N/A|N/A|~{{{ThreadCount}}}}}
|  label4     = Thread Count:                   |  data4 = {{#ifeq:{{{ThreadCount|}}}|N/A|N/A|~{{{ThreadCount}}}}}
|  label5   = Moderator(s):                   |  data5 = {{#if: {{{Mod1|}}}|{{#ifeq: {{{Mod1|}}}|Mentors|[[Mentors]][[Category:Forums Moderated by Mentors]]|[[{{{Mod1}}}]][[Category:Forums Moderated by Members]]}}|N/A}} {{#if: {{{Mod2|}}}|{{#ifeq: {{{Mod2|}}}|Mentors| {{o}} [[Mentors]][[Category:Forums Moderated by Mentors]]| {{o}} [[{{{Mod2}}}]][[Category:Forums Moderated by Members]]}}|{{Empty}}}} {{#if: {{{Mod3|}}}|{{#ifeq: {{{Mod3|}}}|Mentors| {{o}} [[Mentors]][[Category:Forums Moderated by Mentors]]| {{o}} [[{{{Mod3}}}]][[Category:Forums Moderated by Members]]}}|{{Empty}}}}
|  label5     = Moderator(s):                   |  data5 = {{#if: {{{Mod1|}}}|{{#ifeq: {{{Mod1|}}}|Mentors|[[Mentors]][[Category:Forums Moderated by Mentors]]|[[{{{Mod1}}}]][[Category:Forums Moderated by Members]]}}|N/A}} {{#if: {{{Mod2|}}}|{{#ifeq: {{{Mod2|}}}|Mentors| {{o}} [[Mentors]][[Category:Forums Moderated by Mentors]]| {{o}} [[{{{Mod2}}}]][[Category:Forums Moderated by Members]]}}|{{Empty}}}} {{#if: {{{Mod3|}}}|{{#ifeq: {{{Mod3|}}}|Mentors| {{o}} [[Mentors]][[Category:Forums Moderated by Mentors]]| {{o}} [[{{{Mod3}}}]][[Category:Forums Moderated by Members]]}}|{{Empty}}}}
|  label6   = Forum Tab:                      |  data6 = {{#if: {{{Tab|}}}|[[:Category:{{{Tab}}} Tab|{{{Tab}}} Tab]]|N/A}}
|  label6     = Forum Tab:                      |  data6 = {{#if: {{{Tab|}}}|[[:Category:{{{Tab}}} Tab|{{{Tab}}} Tab]]|N/A}}
|  label7   = Parent Forum:                    |  data7 = {{#if: {{{ParentForum|}}}|[[{{{ParentForum}}}]]|N/A}}
|  label7     = Parent Forum:                    |  data7 = {{#if: {{{ParentForum|}}}|[[{{{ParentForum}}}]]|N/A}}
|  label8   = Subforum(s):                    |  data8 = {{#if: {{{SubForum1|}}}|[[|{{{SubForum1}}}]]|N/A}}{{#if: {{{SubForum2|}}}|<br>[[{{{SubForum2}}}]]|{{Empty}}}}{{#if: {{{SubForum3|}}}|<br>[[{{{SubForum3}}}]]|{{Empty}}}} {{#if: {{{SubForum4|}}}|<br>[[{{{SubForum4}}}]]|{{Empty}}}}{{#if: {{{SubForum5|}}}|<br>[[{{{SubForum5}}}]]|{{Empty}}}}{{#if: {{{SubForum6|}}}|<br>[[{{{SubForum6}}}]]|{{Empty}}}}{{#if: {{{SubForum7|}}}|<br>[[{{{SubForum7}}}]]|{{Empty}}}}{{#if: {{{SubForum8|}}}|<br>[[{{{SubForum8}}}]]|{{Empty}}}}{{#if: {{{SubForum9|}}}|<br>[[{{{SubForum9}}}]]|{{Empty}}}}{{#if: {{{SubForum10|}}}|<br>[[{{{SubForum10}}}]]|{{Empty}}}}
|  label8     = Subforum(s):                    |  data8 = {{#if: {{{SubForum1|}}}|[[|{{{SubForum1}}}]]|N/A}}{{#if: {{{SubForum2|}}}|<br>[[{{{SubForum2}}}]]|{{Empty}}}}{{#if: {{{SubForum3|}}}|<br>[[{{{SubForum3}}}]]|{{Empty}}}} {{#if: {{{SubForum4|}}}|<br>[[{{{SubForum4}}}]]|{{Empty}}}}{{#if: {{{SubForum5|}}}|<br>[[{{{SubForum5}}}]]|{{Empty}}}}{{#if: {{{SubForum6|}}}|<br>[[{{{SubForum6}}}]]|{{Empty}}}}{{#if: {{{SubForum7|}}}|<br>[[{{{SubForum7}}}]]|{{Empty}}}}{{#if: {{{SubForum8|}}}|<br>[[{{{SubForum8}}}]]|{{Empty}}}}{{#if: {{{SubForum9|}}}|<br>[[{{{SubForum9}}}]]|{{Empty}}}}{{#if: {{{SubForum10|}}}|<br>[[{{{SubForum10}}}]]|{{Empty}}}}
|  label9   = Prefixes:                        |  data9 = {{#if: {{{Prefixes|}}}|{{{Prefixes}}}|N/A}}
|  label9     = Prefixes:                        |  data9 = {{#if: {{{Prefixes|}}}|{{{Prefixes}}}|N/A}}
}}
}}
{{{ForumDesc}}}
{{{ForumDesc}}}

Revision as of 15:53, 12 July 2015


This template is used on Forum pages (any article with the Forum: namespace) and is used to describe the specific details of said Forum.

{{ForumBox
| ForumName   = 
| ForumPic    = 
| ForumDesc   = 
| FID         =
| Status      = 
| Overview    = 
| Rules       = 
| PostCount   = 
| ThreadCount = 
| Mod1        = 
| Mod2        = 
| Tab         = 
| ParentForum = 
| SubForum1   = 
| SubForum2   = 
| Sticky1     = 
| StickyTID1  = 
| Author1     = 
| AuthorUID1  = 
| Sticky2     = 
| StickyTID2  = 
| Author2     = 
| AuthorUID2  = 
}}

Example usage is below.

{{ForumBox

| ForumName   = Full name of the forum
| ForumPic    = Ficon (don't include File:)
| ForumDesc   = Full description of the forum as it appears on HF
| FID         = Forum ID
| Status      = Open, Closed, Restricted
| Overview    = Brief generalization of what the forum is about
| Rules       = Forum rules that appear above the forum content
| PostCount   = Approximate post count
| ThreadCount = Approximate thread count
| Mod1        = Full username of moderator 1
| Mod2        = Full username of moderator 2
| Tab         = Tab this forum falls under
| ParentForum = Parent forum of this forum, if any
| SubForum1   = Subforum of this subforum, if any
| SubForum2   = 
| Sticky1     = Information about stickied threads THAT ARE NOT PAID STICKIES
| StickyTID1  = 
| Author1     = 
| AuthorUID1  = 
| Sticky2     = 
| StickyTID2  = 
| Author2     = 
| AuthorUID2  = 
}}