Template:ForumBox: Difference between revisions
From Hack Forums Wiki
No edit summary |
Update style. |
||
| (5 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{Infobox | {{Infobox | ||
| bodystyle =overflow: auto; width: 21%; background: | | 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 = | | abovestyle = background: #1f1f1f; font-weight: bold; font-size: 16px; text-align: center; color: white; padding: 0px 0px 3px 0px; | ||
| labelstyle = border: | | labelstyle = border: 2px solid #1f1f1f; padding-left: 5px; | ||
| datastyle = border: | | 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 12: | Line 12: | ||
| label4 = Forum Tab: | data4 = {{#if: {{{Tab|}}}|[[:Category:{{{Tab}}} Tab|{{{Tab}}} Tab]]|}} | | label4 = Forum Tab: | data4 = {{#if: {{{Tab|}}}|[[:Category:{{{Tab}}} Tab|{{{Tab}}} Tab]]|}} | ||
| label5 = Parent Forum: | data5 = {{#if: {{{ParentForum|}}}|[[{{{ParentForum}}}]]|}} | | label5 = Parent Forum: | data5 = {{#if: {{{ParentForum|}}}|[[{{{ParentForum}}}]]|}} | ||
| 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 | | 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 = Prefixes: | data7 = {{#if: {{{Prefixes|}}}|{{{Prefixes}}}|}} | | label7 = Prefixes: | data7 = {{#if: {{{Prefixes|}}}|{{{Prefixes}}}|}} | ||
}} | }} | ||
| Line 21: | 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.}} | ||
== Subforum Rules == | {{#if: {{{Rules|}}}|== Subforum Rules ==|{{Empty}}}} | ||
{{#if: {{{Rules|}}}|{{{Rules}}}| | {{#if: {{{Rules|}}}|{{{Rules}}}|}} | ||
== Important Stickies == | {{#if: {{{Sticky1|}}}|== Important Stickies ==|{{Empty}}}} | ||
{{#if: {{{Sticky1|}}}|{{Stickies | {{#if: {{{Sticky1|}}}|{{Stickies | ||
| Sticky1 = {{#if: {{{Sticky1|}}}|{{{Sticky1}}}|}} | | Sticky1 = {{#if: {{{Sticky1|}}}|{{{Sticky1}}}|}} | ||
| Line 39: | Line 39: | ||
| StickyTID4 = {{#if: {{{StickyTID4|}}}|{{{StickyTID4}}}|}} | | StickyTID4 = {{#if: {{{StickyTID4|}}}|{{{StickyTID4}}}|}} | ||
| Author4 = {{#if: {{{Author4|}}}|{{{Author4}}}|}} | | Author4 = {{#if: {{{Author4|}}}|{{{Author4}}}|}} | ||
}}| | }}|}} | ||
{{ForumNavbox}} | {{ForumNavbox}} | ||
| Line 52: | Line 52: | ||
| ForumPic = | | ForumPic = | ||
| ForumDesc = | | ForumDesc = | ||
| FID = | | FID = | ||
| Status = | | Status = | ||
| Overview = | | Overview = | ||
| Rules = | | Rules = | ||
| Mod1 = | | Mod1 = | ||
| Mod2 = | | Mod2 = | ||
| Line 82: | 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 | ||
| Mod1 = Full username of moderator 1 | | Mod1 = Full username of moderator 1 | ||
| Mod2 = Full username of moderator 2 | | Mod2 = Full username of moderator 2 | ||
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 =
}}