Template:ForumBox: Difference between revisions

From Hack Forums Wiki
D3xus (talk | contribs)
No edit summary
D3xus (talk | contribs)
No edit summary
Line 7: Line 7:
|  datastyle  = border: 1px solid #072948;
|  datastyle  = border: 1px solid #072948;
|  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      = Moderator(s):                  |  data3 = {{#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}}}}
|  label4      = Thread Count:                  |  data4 = {{#ifeq:{{{ThreadCount|}}}|N/A|N/A|~{{{ThreadCount}}}}}
label4     = Forum Tab:                     data4 = {{#if: {{{Tab|}}}|[[:Category:{{{Tab}}} Tab|{{{Tab}}} Tab]]|N/A}}
|  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     = Parent Forum:                   data5 = {{#if: {{{ParentForum|}}}|[[{{{ParentForum}}}]]|N/A}}
label6     = Forum Tab:                       data6 = {{#if: {{{Tab|}}}|[[:Category:{{{Tab}}} Tab|{{{Tab}}} Tab]]|N/A}}
label6     = Subforum(s):                   data6 = {{#if: {{{SubForum1|}}}|[[{{{SubForum1}}}]]}}{{#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}}}}
label7     = Parent Forum:                   data7 = {{#if: {{{ParentForum|}}}|[[{{{ParentForum}}}]]|N/A}}
label7     = Prefixes:                       data7 = {{#if: {{{Prefixes|}}}|{{{Prefixes}}}|N/A}}
label8     = Subforum(s):                     data8 = {{#if: {{{SubForum1|}}}|[[{{{SubForum1}}}]]}}{{#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}}
}}
}}
{{{ForumDesc}}}
{{{ForumDesc}}}
Line 23: Line 21:
{{#if: {{{Overview|}}}|{{{Overview}}}|There is nothing in particular of note about this subforum.}}
{{#if: {{{Overview|}}}|{{{Overview}}}|There is nothing in particular of note about this subforum.}}


== Specific Rules ==
== Subforum Rules ==


{{#if: {{{Rules|}}}|{{{Rules}}}|There are currently no specific rules for this subforum.}}
{{#if: {{{Rules|}}}|{{{Rules}}}|There are currently no unique rules for this subforum.}}


== Important Stickies ==
== Important Stickies ==

Revision as of 23:36, 23 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  = 
}}