Template:CatWeightTable/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
{{catWeightTable|1|red|1|Level 1 weight does this and that. Indent level 1.|2|Level 2 weight  does this and that.}}
==Documentation for this template==
This template lets you crate a category weight table with one to six rows, letting the user so into as much ranking detail as he chooses.
This template lets you crate a category weight table with one to six rows, letting the user so into as much ranking detail as he chooses.
{{eyecatch|1|Features|Indentation, colour, one to six text rows.}}
{{eyecatch|1|Features|Indentation, colour, one to six text rows.}}


==Issues==
==Issues==
Even though the code works pretty well if you add descriptions for 6 rows, using less of them will lead to "empty ghost lines" that mess up the table padding. The fewer rows you use the more noticeable. Alas I (foo2) have not yet been able to fix this issue :(.
Even though the code works pretty well if you add descriptions for 6 rows, using less of them will lead to "empty ghost lines" that mess up the table padding. The fewer rows you use the more noticeable. Alas I (foo2) have not yet been able to fix this issue :(.
==Alternative names==
* <tt><nowiki>{{catWeightTable|<#>|<colour>|<weight>|<text>}}</nowiki></tt>
* <tt><nowiki>{{CatWeightTable|<#>|<colour>|<weight>|<text>}}</nowiki></tt> - alternate spelling of template
* <tt><nowiki>{{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>}}</nowiki></tt>
* <tt><nowiki>{{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>}}</nowiki></tt>
* <tt><nowiki>{{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}}</nowiki></tt>
* <tt><nowiki>{{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}}</nowiki></tt>
* <tt><nowiki>{{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}}</nowiki></tt>


==Syntax==
==Syntax==
Line 52: Line 37:


==Example Category Weight Tables==
==Example Category Weight Tables==
===CatWeightTable 1, 2, and 6 rows===
===CatWeightTable 1, 2, and 6 rows===
  <nowiki>{{catWeightTable|1|blue|1|Level 1 does this and that.}}</nowiki> (LAYOUT ISSUE)
  <nowiki>{{catWeightTable|1|blue|1|Level 1 does this and that.}}</nowiki> (LAYOUT ISSUE)
staff
2,096

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.