Template:ForumBox: Difference between revisions

From Hack Forums Wiki
D3xus (talk | contribs)
No edit summary
James (talk | contribs)
Update style.
 
(One intermediate revision 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>]|}}
|  label1      = FID:                            |  data1 = {{#if: {{{FID|}}}|[http://www.hackforums.net/forumdisplay.php?fid={{{FID}}} <span style="color: white">'''{{{FID}}}'''</span>]|}}
Line 23: Line 23:
{{#if: {{{Rules|}}}|== Subforum Rules ==|{{Empty}}}}
{{#if: {{{Rules|}}}|== Subforum Rules ==|{{Empty}}}}


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


{{#if: {{{Sticky1|}}}|== Important Stickies ==|{{Empty}}}}
{{#if: {{{Sticky1|}}}|== Important Stickies ==|{{Empty}}}}
Line 39: Line 39:
| StickyTID4  = {{#if: {{{StickyTID4|}}}|{{{StickyTID4}}}|}}
| StickyTID4  = {{#if: {{{StickyTID4|}}}|{{{StickyTID4}}}|}}
| Author4    = {{#if: {{{Author4|}}}|{{{Author4}}}|}}
| Author4    = {{#if: {{{Author4|}}}|{{{Author4}}}|}}
}}|There are currently no important stickies for this subforum.}}
}}|}}


{{ForumNavbox}}
{{ForumNavbox}}

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     = 
}}