Difference between revisions of "Template:Statusbox"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
(Made template)
 
m (Fixed metatemplate link)
 
Line 2: Line 2:
! {{{title}}}
! {{{title}}}
|-
|-
| style="background-color: {{#switch:{{Level|{{{count}}}}}<!--
| style="background-color: {{#switch:{{Statusbox/Level|{{{count}}}}}<!--
   -->|0=SkyBlue<!--
   -->|0=SkyBlue<!--
   -->|1=royalblue<!--
   -->|1=royalblue<!--
Line 12: Line 12:
   -->|7=<nowiki>#</nowiki>5F0000<!--
   -->|7=<nowiki>#</nowiki>5F0000<!--
   -->|8=Black<!--
   -->|8=Black<!--
  -->}}; border: 1px solid Black;" | {{#switch:{{Level|{{{count|0}}}}}<!--
  -->}}; border: 1px solid Black;" | {{#switch:{{Statusbox/Level|{{{count|0}}}}}<!--
   -->|0=[[File:Yes check.png|16x16px]] Clear<!--
   -->|0=[[File:Yes check.png|16x16px]] Clear<!--
   -->|1=Clearing out<!--
   -->|1=Clearing out<!--

Latest revision as of 19:50, 8 March 2015


Template-info.png Documentation

This template is used to create an overview of a queue.

Parameters[edit]

  • title: The title to display.
  • footer: The footer to display.
  • count: Size of the queue.
  • link: (Optional) The template name to be used in the navbar, only needed when used in other templates.

Example[edit]

{{Statusbox
|count={{PAGESINCATEGORY:Templates with no documentation}}
|title=[[:Category:Templates with no documentation|Templates]] missing documentation
|footer={{PAGESINCATEGORY:Templates with no documentation}} missing doc pages.
}}

produces:

The above documentation is transcluded from Template:Statusbox/doc. (edit | history)