Template:BoardInfo: Difference between revisions

From Bibliotheca Anonoma
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 28: Line 28:
| <b>Listed?</b> || {{#if: {{{listed|}}} | {{#switch: {{{listed|}}} | {{lc: Yes }} = Yes | {{lc: No }} = No | Error }} | Unknown }} || <b>Pages</b> || {{#if: {{{pages|}}} | {{#switch: {{{pages}}} | {{#expr:  {{{pages}}} + 0 }} = {{{pages}}} | Error }} | Unknown }} || <b>Threads per page</b> || {{#if: {{{threadsper|}}} | {{#switch: {{{threadsper}}} | {{#expr:  {{{threadsper}}} + 0 }} = {{{threadsper}}} | Error }} | Unknown }}
| <b>Listed?</b> || {{#if: {{{listed|}}} | {{#switch: {{{listed|}}} | {{lc: Yes }} = Yes | {{lc: No }} = No | Error }} | Unknown }} || <b>Pages</b> || {{#if: {{{pages|}}} | {{#switch: {{{pages}}} | {{#expr:  {{{pages}}} + 0 }} = {{{pages}}} | Error }} | Unknown }} || <b>Threads per page</b> || {{#if: {{{threadsper|}}} | {{#switch: {{{threadsper}}} | {{#expr:  {{{threadsper}}} + 0 }} = {{{threadsper}}} | Error }} | Unknown }}
|-
|-
| <b>Max. Threads per IP</b> || {{#if: {{{maxthreads|}}} | {{#switch: {{{maxthreads}}} | {{#expr:  {{{maxthreads}}} + 0 }} = {{{maxthreads}}} | Error }} | Unknown }} || <b>Bump Limit</b> || {{#if: {{{bumplimit|}}} | {{#switch: {{{bumplimit}}} | {{#expr: {{{bumplimit}}} + 0 }} = {{{bumplimit}}} | Error }} | Unknown }} || <b>Character Limit</b> || {{#if: {{{charlimit|}}} | {{#switch: {{{charlimit}}} | {{#expr:  {{{charlimit}}} + 0 }} = {{{charlimit}}} | Error }} | Unknown }}
| <b>Max. Threads per IP</b> || {{#if: {{{maxthreads|}}} | {{#switch: {{{maxthreads}}} | {{#expr:  {{{maxthreads}}} + 0 }} = {{{maxthreads}}} | Error }} | Unknown }} || <b>Image Reply?</b> || {{#if: {{{imgreply|}}} | {{#switch: {{{imgreply|}}} | {{lc: Yes }} = Yes | {{lc: No }} = No | Error }} | Unknown }} || <b>Thread Cooldown</b> || {{#if: {{{threadcd|}}} | {{#switch: {{{threadcd}}} | {{#expr:  {{{threadcd}}} + 0 }} = {{{threadcd}}} | Error }} | Unknown }}
|-
|-
| <b>Thread Cooldown</b> || {{#if: {{{threadcd|}}} | {{#switch: {{{threadcd}}} | {{#expr: {{{threadcd}}} + 0 }} = {{{threadcd}}} | Error }} | Unknown }} || <b>Thread Deletion?</br> || {{#if: {{{threaddel|}}} | {{#switch: {{{threaddel|}}} | {{lc: Yes }} = Yes | {{lc: No }} = No | Error }} | Unknown }} || <b>Thread Deletion Timer</b> || {{#if: {{{threaddel|}}} | {{#ifeq: {{{threaddel}}} | yes | {{#switch: {{{threaddeltimer}}} | {{#expr:  {{{threaddeltimer}}} + 0 }} = {{{threaddeltimer}}} | Error }} | N/A }} | Unknown }}
| <b>Thread Deletion?</br> || {{#if: {{{threaddel|}}} | {{#switch: {{{threaddel|}}} | {{lc: Yes }} = Yes | {{lc: No }} = No | Error }} | Unknown }} || <b>Min. Thread Deletion Timer</b> || {{#if: {{{threaddel|}}} | {{#ifeq: {{{threaddel}}} | yes | {{#switch: {{{threaddeltimermin}}} | {{#expr: {{{threaddeltimermin}}} + 0 }} = {{{threaddeltimermin}}} | Error }} | N/A }} | Unknown }} || <b>Max. Thread Deletion Timer</b> || {{#if: {{{threaddel|}}} | {{#ifeq: {{{threaddel}}} | yes | {{#switch: {{{threaddeltimermax}}} | {{#expr:  {{{threaddeltimermax}}} + 0 }} = {{{threaddeltimermax}}} | Error }} | N/A }} | Unknown }}
|-
|-
| <b>Post Cooldown</b> || {{#if: {{{replycd|}}} | {{#switch: {{{replycd}}} | {{#expr:  {{{replycd}}} + 0 }} = {{{replycd}}} | Error }} | Unknown }} || <b>Post Deletion?</br> || {{#if: {{{postdel|}}} | {{#switch: {{{postdel|}}} | {{lc: Yes }} = Yes | {{lc: No }} = No | Error }} | Unknown }} || <b>Post Deletion Timer</b> || {{#if: {{{postdel|}}} | {{#ifeq: {{{postdel}}} | yes | {{#switch: {{{postdeltimer}}} | {{#expr:  {{{postdeltimer}}} + 0 }} = {{{postdeltimer}}} | Error }} | N/A }} | Unknown }}
| <b>Bump Limit</b> || {{#if: {{{bumplimit|}}} | {{#switch: {{{bumplimit}}} | {{#expr:  {{{bumplimit}}} + 0 }} = {{{bumplimit}}} | Error }} | Unknown }} || <b>Character Limit</b> || {{#if: {{{charlimit|}}} | {{#switch: {{{charlimit}}} | {{#expr: {{{charlimit}}} + 0 }} = {{{charlimit}}} | Error }} | Unknown }} || <b>Post Cooldown</b> || {{#if: {{{replycd|}}} | {{#switch: {{{replycd}}} | {{#expr:  {{{replycd}}} + 0 }} = {{{replycd}}} | Error }} | Unknown }} ||
|-
|-
| <b>Image Reply?</b> || {{#if: {{{imgreply|}}} | {{#switch: {{{imgreply|}}} | {{lc: Yes }} = Yes | {{lc: No }} = No | Error }} | Unknown }} || <b>Image Limit</b> || {{#if: {{{imgreply|}}} | {{#ifeq: {{{imgreply}}} | yes | {{#switch: {{{imglimit}}} | {{#expr:  {{{imglimit}}} + 0 }} = {{{imglimit}}} | Error }} | N/A }} | Unknown }} || <b>Image Cooldown</b> || {{#if: {{{imagecd|}}} | {{#switch: {{{imagecd}}} | {{#expr:  {{{imagecd}}} + 0 }} = {{{imagecd}}} | Error }} | Unknown }}
| <b>Post Deletion?</b> || {{#if: {{{postdel|}}} | {{#switch: {{{postdel|}}} | {{lc: Yes }} = Yes | {{lc: No }} = No | Error }} | Unknown }} || <b>Min. Post Deletion Timer</b> || {{#if: {{{postdel|}}} | {{#ifeq: {{{postdel}}} | yes | {{#switch: {{{postdeltimermin}}} | {{#expr:  {{{postdeltimermin}}} + 0 }} = {{{postdeltimermin}}} | Error }} | N/A }} | Unknown }} || <b>Max. Post Deletion Timer</b> || {{#if: {{{postdel|}}} | {{#ifeq: {{{postdel}}} | yes | {{#switch: {{{postdeltimermax}}} | {{#expr:  {{{postdeltimermax}}} + 0 }} = {{{postdeltimermax}}} | Error }} | N/A }} | Unknown }}
|-
|-
| <b>Max. Filesize</b> || {{#if: {{{filemax|}}} | {{#switch: {{{filemax}}} | {{#expr:  {{{filemax}}} + 0 }} = {{{filemax}}}MB | Error }} | Unknown }} || <b>Dimensions</b> || <b>Max.</b></br>{{#if: {{{dimensionmax|}}} | {{#switch: {{{dimensionmax}}} | {{#expr:  {{{dimensionmax}}} + 0 }} = {{{dimensionmax}}}px | Error }} | Unknown }} <b>Min.</b></br>{{#if: {{{dimensionmin|}}} | {{#switch: {{{dimensionmin}}} | 0 = None | {{#expr:  {{{dimensionmin}}} + 0 }} = {{{dimensionmin}}}px | Error }} | Unknown }} || <b>File Deletion?</b> || {{#if: {{{filedel|}}} | {{#switch: {{{filedel|}}} | {{lc: Yes }} = Yes | {{lc: No }} = No | Error }} | Unknown }}
| <b>Image Limit</b> || {{#if: {{{imgreply|}}} | {{#ifeq: {{{imgreply}}} | yes | {{#switch: {{{imglimit}}} | {{#expr:  {{{imglimit}}} + 0 }} = {{{imglimit}}} | Error }} | N/A }} | Unknown }} || <b>File Deletion?</b> || {{#if: {{{filedel|}}} | {{#switch: {{{filedel|}}} | {{lc: Yes }} = Yes | {{lc: No }} = No | Error }} | Unknown }} || <b>Image Cooldown</b> || {{#if: {{{imgreply|}}} | {{#ifeq: {{{imgreply}}} | yes | {{#switch: {{{imagecd}}} | {{#expr:  {{{imagecd}}} + 0 }} = {{{imagecd}}} | Error }} | N/A }} | Unknown }}
|-
| <b>Max. Filesize</b> || {{#if: {{{filemax|}}} | {{#switch: {{{filemax}}} | {{#expr:  {{{filemax}}} + 0 }} = {{{filemax}}}MB | Error }} | Unknown }} || <b>Min. Dimension</b> || {{#if: {{{dimensionmin|}}} | {{#switch: {{{dimensionmin}}} | 0 = None | {{#expr:  {{{dimensionmin}}} + 0 }} = {{{dimensionmin}}}px | Error }} | Unknown }} || <b>Max. Dimension</b> || {{#if: {{{dimensionmax|}}} | {{#switch: {{{dimensionmax}}} | {{#expr: {{{dimensionmax}}} + 0 }} = {{{dimensionmax}}}px | Error }} | Unknown }}
|-
|-
| <b>Filetypes</b> || colspan="5"| {{#if: {{{filetypes|}}} | {{{filetypes}}} | N/A }}
| <b>Filetypes</b> || colspan="5"| {{#if: {{{filetypes|}}} | {{{filetypes}}} | N/A }}
Line 59: Line 61:
| <b>Other</b> || colspan="3"| {{#if: {{{other|}}} | {{{other}}} | N/A }}
| <b>Other</b> || colspan="3"| {{#if: {{{other|}}} | {{{other}}} | N/A }}
|}
|}
<noinclude><br><br><br><br><br><br><br><br><br><br><br><br>{{usage|1=
<noinclude><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
 
==Parameters==
 
'''Main Box'''
 
All main box entries take simple text, including links.
Labels: Closed On / Deleted On / External Archive / External Archive Periods don't appear if they are not given values.
 
'''Technical Information and Board Features'''
 
* If left empty -> Returns '''Unknown'''
* If it's any value outside valid ones: Returns '''Error'''
* Valid Parameters:
** Takes -> '''yes / no'''
*** listed / threaddel / postdel / imgreply / filedel / archived / forcedanon / optionsfield / threadids / videosound / pass / passshow / spoilers / flags / dice_roll / fortune / emoticons
** ''Conditional on another parameter'' Takes (yes) -> '''number''' / returns (no) -> '''N/A'''
*** threaddel -> threaddeltimermin / threaddeltimermax
*** postdel -> postdeltimermin / postdeltimermax
*** imgreply -> imglimit / imagecd
*** archived -> archivedlength / archivedsize
** Takes -> '''number'''
*** maxthreads / pages / threadsper / bumplimit / charlimit / threadcd / replycd / filemax / dimensionmax / dimensionmin
** Takes -> '''string'''
*** filetypes / other
** Takes -> '''[[Flags|Flags Page]]''' ie <nowiki>"Flags#mlp_character_flags"</nowiki>
*** boardflags
 
 
{{usage|1=
Example: <pre><nowiki>{{BoardInfo
Example: <pre><nowiki>{{BoardInfo
|Board=/mlp/ - Pony
|Board=/mlp/ - Pony
Line 81: Line 112:
|replycd=60
|replycd=60
|threaddel=no
|threaddel=no
|threaddeltimer=n/a
|threaddeltimermin=n/a
|threaddeltimermax=n/a
|postdel=yes
|postdel=yes
|postdeltimer=60
|postdeltimermin=60
|postdeltimermax=600
|imgreply=yes
|imgreply=yes
|imglimit=300
|imglimit=300
Line 109: Line 142:
|other=
|other=
}}</nowiki></pre>
}}</nowiki></pre>
 
</br>
Displays: {{BoardInfo
Displays: {{BoardInfo
|Board=/mlp/ - Pony
|Board=/mlp/ - Pony
Line 131: Line 164:
|replycd=60
|replycd=60
|threaddel=no
|threaddel=no
|threaddeltimer=n/a
|threaddeltimermin=n/a
|threaddeltimermax=n/a
|postdel=yes
|postdel=yes
|postdeltimer=60
|postdeltimermin=60
|postdeltimermax=600
|imgreply=yes
|imgreply=yes
|imglimit=300
|imglimit=300

Latest revision as of 04:23, 22 September 2025

This page is a template. It contains no Bibliotheca Anonoma-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.
{{{Board}}}
[[File:{{{image}}}|frameless]]
{{{desc}}}
Created on {{{board_created_on}}}
Category {{{category}}}
Favicon-ws.pngWorksafe {{{posts}}} posts as of {{{postcountdate}}}
Board-tan {{{board-tan}}}
4chan Cup Team The {{{4cc_team}}}
Technical Information
Listed? Unknown Pages Unknown Threads per page Unknown
Max. Threads per IP Unknown Image Reply? Unknown Thread Cooldown Unknown
Thread Deletion?
Unknown Min. Thread Deletion Timer Unknown Max. Thread Deletion Timer Unknown
Bump Limit Unknown Character Limit Unknown Post Cooldown Unknown
Post Deletion? Unknown Min. Post Deletion Timer Unknown Max. Post Deletion Timer Unknown
Image Limit Unknown File Deletion? Unknown Image Cooldown Unknown
Max. Filesize Unknown Min. Dimension Unknown Max. Dimension Unknown
Filetypes N/A
Internal Archive? Unknown Archive Size Unknown Archive Duration Unknown
Board Features
Forced Anon? Unknown Options Field? Unknown
Thread IDs? Unknown Video Sound? Unknown
Pass Only? Unknown Visible Pass?
Unknown
Geoflags? Unknown Board Flags? Unknown
Dice Roll? Unknown Fortune? Unknown
Spoilers? Unknown Emoticons? Unknown
Other N/A



















Parameters

Main Box

All main box entries take simple text, including links. Labels: Closed On / Deleted On / External Archive / External Archive Periods don't appear if they are not given values.

Technical Information and Board Features

  • If left empty -> Returns Unknown
  • If it's any value outside valid ones: Returns Error
  • Valid Parameters:
    • Takes -> yes / no
      • listed / threaddel / postdel / imgreply / filedel / archived / forcedanon / optionsfield / threadids / videosound / pass / passshow / spoilers / flags / dice_roll / fortune / emoticons
    • Conditional on another parameter Takes (yes) -> number / returns (no) -> N/A
      • threaddel -> threaddeltimermin / threaddeltimermax
      • postdel -> postdeltimermin / postdeltimermax
      • imgreply -> imglimit / imagecd
      • archived -> archivedlength / archivedsize
    • Takes -> number
      • maxthreads / pages / threadsper / bumplimit / charlimit / threadcd / replycd / filemax / dimensionmax / dimensionmin
    • Takes -> string
      • filetypes / other
    • Takes -> Flags Page ie "Flags#mlp_character_flags"
      • boardflags


Usage

These usage notes will not be included in articles bearing this template.

Example:

{{BoardInfo
|Board=/mlp/ - Pony
|image=Mlp_logo.png
|desc=...dedicated to the discussion of My Little Pony: Friendship is Magic.
|board_created_on=February 16, 2012
|posts=40328195
|postcountdate=9/18/23
|category=Other
|board-tan=[https://the-conservatory.fandom.com/wiki/Board-tans/mlp Emily]
|4cc_team=[https://implyingrigged.info/wiki//mlp/ Horsefuckers]
|external_archive=[https://desuarchive.org/mlp/ Desuarchive]
|external_archive_start=Feb. 16 2012
|listed=yes
|maxthreads=5
|pages=10
|threadsper=15
|bumplimit=500
|charlimit=3000
|threadcd=600
|replycd=60
|threaddel=no
|threaddeltimermin=n/a
|threaddeltimermax=n/a
|postdel=yes
|postdeltimermin=60
|postdeltimermax=600
|imgreply=yes
|imglimit=300
|filemax=4
|dimensionmax=10000
|dimensionmin=0
|filedel=yes
|imagecd=60
|archived=yes
|archivedlength=3
|archivedsize=3000
|filetypes=jpg, png, gif, webm, mp4
|forcedanon=no
|optionsfield=yes
|threadids=no
|videosound=no
|pass=no
|passshow=yes
|spoilers=yes
|flags=no
|boardflags=Flags#mlp_character_flags
|dice_roll=yes
|fortune=no
|emoticons=no
|other=
}}


Displays:

/mlp/ - Pony
Mlp logo.png
...dedicated to the discussion of My Little Pony: Friendship is Magic.
Created on February 16, 2012
Category Other
Favicon-ws.pngWorksafe 40328195 posts as of 9/18/23
Board-tan Emily
4chan Cup Team The Horsefuckers
Archived on Desuarchive
Archived from Feb. 16 2012 to Present
Technical Information
Listed? Yes Pages 10 Threads per page 15
Max. Threads per IP 5 Image Reply? Yes Thread Cooldown 600
Thread Deletion?
No Min. Thread Deletion Timer N/A Max. Thread Deletion Timer N/A
Bump Limit 500 Character Limit 3000 Post Cooldown 60
Post Deletion? Yes Min. Post Deletion Timer 60 Max. Post Deletion Timer 600
Image Limit 300 File Deletion? Yes Image Cooldown 60
Max. Filesize 4MB Min. Dimension None Max. Dimension 10000px
Filetypes jpg, png, gif, webm, mp4
Internal Archive? Yes Archive Size 3000 Archive Duration 3 Days
Board Features
Forced Anon? No Options Field? Yes
Thread IDs? No Video Sound? No
Pass Only? No Visible Pass?
Yes
Geoflags? No Board Flags? Yes
Dice Roll? Yes Fortune? No
Spoilers? Yes Emoticons? No
Other N/A