Jump to content

Template:Registration bar: Difference between revisions

From Wiki - Scioly.org
Created page with "{{Composition bar|{{{1|50}}}|{{#if: {{{nolimit|}}}|100|{{{2|}}}}}|text1=registered|text2={{#if: {{{nolimit|}}}|no limit|{{{2|}}} max}}}}<noinclude> {{Documentation}} </noinclude>"
 
Defaults
Line 1: Line 1:
{{Composition bar|{{{1|50}}}|{{#if: {{{nolimit|}}}|100|{{{2|}}}}}|text1=registered|text2={{#if: {{{nolimit|}}}|no limit|{{{2|}}} max}}}}<noinclude>
{{Composition bar|{{{1|50}}}|{{#if: {{{nolimit|}}}|100|{{{2|100}}}}}|text1=registered|text2={{#if: {{{nolimit|}}}|no limit|{{{2|100}}} max}}}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 22:17, 5 September 2020

50 registered / 100 max
Template documentation

The Registration bar template is a template used to generate a registration bar.

Parameters

1 - the number of registered teams at the tournament (defaults to 50)
2 - the maximum possible number of registered teams at the tournament (defaults to 100)

Usage

The template should be placed after the number of teams parameter with no line breaks.

Examples

Code Result
{{Infobox invitational tournament
|Total teams={{Registration bar}}
|teams_b={{Registration bar|4|16}}
|teams_c={{Registration bar|16|nolimit=true}}}}
Registration bar
General Information
Total teams
50 registered / 100 max
B teams
4 registered / 16 max
C teams
16 registered / no limit