Template:ForumBox: Difference between revisions

From Hack Forums Wiki
Roger Waters (talk | contribs)
No edit summary
James (talk | contribs)
Update style.
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{Infobox
{{Infobox
|  bodystyle =overflow: auto; width: 21%; background: #333333; color: #d3d3d3; float: right; margin-right: 8px; margin-top: 10px; border: 1px solid #072948; border-collapse: collapse;
|  bodystyle =overflow: auto; width: 21%; background: transparent; color: #d2d2d2; float: right; border-collapse: collapse; border-style: hidden; border-radius: 5px; box-shadow: 0 0 0 4px #1f1f1f; margin: 5px;
|  above      = {{{ForumName}}}
|  above      = {{{ForumName}}}
|  abovestyle =color: white; font-weight: bold; background-color: #072948; text-align: center; font-size: 17px;
|  abovestyle = background: #1f1f1f; font-weight: bold; font-size: 16px; text-align: center; color: white; padding: 0px 0px 3px 0px;
|  labelstyle = border: 1px solid #072948;
|  labelstyle = border: 2px solid #1f1f1f; padding-left: 5px;
|  datastyle  = border: 1px solid #072948;
|  datastyle  = border: 2px solid #1f1f1f; padding-left: 5px;
|  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>]|}}
|  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]]}}|}} {{#if: {{{Mod2|}}}|{{#ifeq: {{{Mod2|}}}|Mentors| {{o}} [[Mentors]][[Category:Forums Moderated by Mentors]]| {{o}} [[{{{Mod2}}}]][[Category:Forums Moderated by Members]]}}|}} {{#if: {{{Mod3|}}}|{{#ifeq: {{{Mod3|}}}|Mentors| {{o}} [[Mentors]][[Category:Forums Moderated by Mentors]]| {{o}} [[{{{Mod3}}}]][[Category:Forums Moderated by Members]]}}|}}
|  label4      = Thread Count:                  |  data4 = {{#ifeq:{{{ThreadCount|}}}|N/A|N/A|~{{{ThreadCount}}}}}
label4     = Forum Tab:                     data4 = {{#if: {{{Tab|}}}|[[:Category:{{{Tab}}} Tab|{{{Tab}}} Tab]]|}}
|  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}}}]]|}}
label6     = Forum Tab:                       data6 = {{#if: {{{Tab|}}}|[[:Category:{{{Tab}}} Tab|{{{Tab}}} Tab]]|N/A}}
label6     = Subforum(s):                   data6 = {{#if: {{{SubForum1|}}}|[[{{{SubForum1}}}]]}}{{#if: {{{SubForum2|}}}|<br>[[{{{SubForum2}}}]]|}}{{#if: {{{SubForum3|}}}|<br>[[{{{SubForum3}}}]]|}} {{#if: {{{SubForum4|}}}|<br>[[{{{SubForum4}}}]]|}}{{#if: {{{SubForum5|}}}|<br>[[{{{SubForum5}}}]]|}}{{#if: {{{SubForum6|}}}|<br>[[{{{SubForum6}}}]]|}}{{#if: {{{SubForum7|}}}|<br>[[{{{SubForum7}}}]]|}}
label7     = Parent Forum:                   data7 = {{#if: {{{ParentForum|}}}|[[{{{ParentForum}}}]]|N/A}}
label7     = Prefixes:                       data7 = {{#if: {{{Prefixes|}}}|{{{Prefixes}}}|}}
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 ==
{{#if: {{{Rules|}}}|== Subforum Rules ==|{{Empty}}}}


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


== Important Stickies ==
{{#if: {{{Sticky1|}}}|== Important Stickies ==|{{Empty}}}}
{{#if: {{{Sticky1|}}}|{{Stickies
{{#if: {{{Sticky1|}}}|{{Stickies
| Sticky1    = {{#if: {{{Sticky1|}}}|{{{Sticky1}}}|}}
| Sticky1    = {{#if: {{{Sticky1|}}}|{{{Sticky1}}}|}}
| StickyTID1  = {{#if: {{{StickyTID1|}}}|{{{StickyTID1}}}|}}
| StickyTID1  = {{#if: {{{StickyTID1|}}}|{{{StickyTID1}}}|}}
| Author1    = {{#if: {{{Author1|}}}|{{{Author1}}}|}}
| Author1    = {{#if: {{{Author1|}}}|{{{Author1}}}|}}
| AuthorUID1  = {{#if: {{{AuthorUID1|}}}|{{{AuthorUID1}}}|}}
| Sticky2    = {{#if: {{{Sticky2|}}}|{{{Sticky2}}}|}}
| Sticky2    = {{#if: {{{Sticky2|}}}|{{{Sticky2}}}|}}
| StickyTID2  = {{#if: {{{StickyTID2|}}}|{{{StickyTID2}}}|}}
| StickyTID2  = {{#if: {{{StickyTID2|}}}|{{{StickyTID2}}}|}}
| Author2    = {{#if: {{{Author2|}}}|{{{Author2}}}|}}
| Author2    = {{#if: {{{Author2|}}}|{{{Author2}}}|}}
| AuthorUID2  = {{#if: {{{AuthorUID2|}}}|{{{AuthorUID2}}}|}}
| Sticky3    = {{#if: {{{Sticky3|}}}|{{{Sticky3}}}|}}
| Sticky3    = {{#if: {{{Sticky3|}}}|{{{Sticky3}}}|}}
| StickyTID3  = {{#if: {{{StickyTID3|}}}|{{{StickyTID3}}}|}}
| StickyTID3  = {{#if: {{{StickyTID3|}}}|{{{StickyTID3}}}|}}
| Author3    = {{#if: {{{Author3|}}}|{{{Author3}}}|}}
| Author3    = {{#if: {{{Author3|}}}|{{{Author3}}}|}}
| AuthorUID3  = {{#if: {{{AuthorUID3|}}}|{{{AuthorUID3}}}|}}
| Sticky4    = {{#if: {{{Sticky4|}}}|{{{Sticky4}}}|}}
| Sticky4    = {{#if: {{{Sticky4|}}}|{{{Sticky4}}}|}}
| StickyTID4  = {{#if: {{{StickyTID4|}}}|{{{StickyTID4}}}|}}
| StickyTID4  = {{#if: {{{StickyTID4|}}}|{{{StickyTID4}}}|}}
| Author4    = {{#if: {{{Author4|}}}|{{{Author4}}}|}}
| Author4    = {{#if: {{{Author4|}}}|{{{Author4}}}|}}
| AuthorUID4  = {{#if: {{{AuthorUID4|}}}|{{{AuthorUID4}}}|}}
}}|}}
}}|There are currently no important stickies for this subforum.}}


{{ForumNavbox|Tab={{{Tab}}}}}
{{ForumNavbox}}
[[Category:Forums]]
[[Category:Forums]]
{{#if: {{{Tab|}}}|{{#ifeq: {{{Tab|}}}|Parent|[[Category:Parent Forum]]|[[Category:{{{Tab}}} Tab]]}}|}}
{{#if: {{{Tab|}}}|{{#ifeq: {{{Tab|}}}|Parent|[[Category:Parent Forum]]|[[Category:{{{Tab}}} Tab]]}}|}}
Line 58: Line 52:
| ForumPic    =  
| ForumPic    =  
| ForumDesc  =  
| ForumDesc  =  
| FID        =
| FID        =  
| Status      =  
| Status      =  
| Overview    =  
| Overview    =  
| Rules      =  
| Rules      =  
| PostCount  =
| ThreadCount =
| Mod1        =  
| Mod1        =  
| Mod2        =  
| Mod2        =  
Line 73: Line 65:
| StickyTID1  =  
| StickyTID1  =  
| Author1    =  
| Author1    =  
| AuthorUID1  =
| Sticky2    =  
| Sticky2    =  
| StickyTID2  =  
| StickyTID2  =  
| Author2    =  
| Author2    =  
| AuthorUID2  =
}}
}}
</pre>
</pre>
Line 83: Line 73:
<pre>
<pre>
{{ForumBox
{{ForumBox
| ForumName  = Full name of the forum
| ForumName  = Full name of the forum
| ForumPic    = Ficon (don't include File:)
| ForumPic    = Ficon (don't include File:)
Line 91: Line 80:
| Overview    = Brief generalization of what the forum is about
| Overview    = Brief generalization of what the forum is about
| Rules      = Forum rules that appear above the forum content
| Rules      = Forum rules that appear above the forum content
| PostCount  = Approximate post count
| ThreadCount = Approximate thread count
| Mod1        = Full username of moderator 1
| Mod1        = Full username of moderator 1
| Mod2        = Full username of moderator 2
| Mod2        = Full username of moderator 2
Line 102: Line 89:
| StickyTID1  =  
| StickyTID1  =  
| Author1    =  
| Author1    =  
| AuthorUID1  =
| Sticky2    =  
| Sticky2    =  
| StickyTID2  =  
| StickyTID2  =  
| Author2    =  
| Author2    =  
| AuthorUID2  =
}}
}}
</pre>
</pre>

Latest revision as of 19:29, 21 March 2021


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       = 
| Mod1        = 
| Mod2        = 
| Tab         = 
| ParentForum = 
| SubForum1   = 
| SubForum2   = 
| Sticky1     = 
| StickyTID1  = 
| Author1     = 
| Sticky2     = 
| StickyTID2  = 
| Author2     = 
}}

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
| 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     = 
| Sticky2     = 
| StickyTID2  = 
| Author2     = 
}}