Template:ForumBox: Difference between revisions
From Hack Forums Wiki
No edit summary |
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>]| | | 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 = Moderator(s): | data3 = {{#if: {{{Mod1|}}}|{{#ifeq: {{{Mod1|}}}|Mentors|[[Mentors]][[Category:Forums Moderated by Mentors]]|[[{{{Mod1}}}]][[Category:Forums Moderated by Members]]}}| | | 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 = 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}}}]]|}}{{#if: {{{SubForum8|}}}|<br>[[{{{SubForum8}}}]]|}}{{#if: {{{SubForum9|}}}|<br>[[{{{SubForum9}}}]]|}}{{#if: {{{SubForum10|}}}|<br>[[{{{SubForum10}}}]]|}} | | 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}}}]]|}}{{#if: {{{SubForum8|}}}|<br>[[{{{SubForum8}}}]]|}}{{#if: {{{SubForum9|}}}|<br>[[{{{SubForum9}}}]]|}}{{#if: {{{SubForum10|}}}|<br>[[{{{SubForum10}}}]]|}} | ||
| label7 = Prefixes: | data7 = {{#if: {{{Prefixes|}}}|{{{Prefixes}}}| | | label7 = Prefixes: | data7 = {{#if: {{{Prefixes|}}}|{{{Prefixes}}}|}} | ||
}} | }} | ||
{{{ForumDesc}}} | {{{ForumDesc}}} | ||
Revision as of 00:46, 24 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 =
| 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
| 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 =
| Sticky2 =
| StickyTID2 =
| Author2 =
}}