Difference between revisions of "User talk:Maxim"

From comp.tf
Jump to navigation Jump to search
(Created page with "Template:Lowercase title doesn't work. pls fix. -~~~~")
 
Line 1: Line 1:
 
[[Template:Lowercase title]] doesn't work. pls fix. -[[User:Maxim|Maxim]] ([[User talk:Maxim|talk]]) 14:33, 3 July 2013 (WEST)
 
[[Template:Lowercase title]] doesn't work. pls fix. -[[User:Maxim|Maxim]] ([[User talk:Maxim|talk]]) 14:33, 3 July 2013 (WEST)
 +
 +
== Weapon table templates ==
 +
 +
I've seen your weapon table templates on the [[Talk:Main Page|main page discussion]], and I've come to the following ideas/conclusions:
 +
* To fix the formatting error, you need to remove the linebreak between the header and the rows, as such: <pre>{{User:Maxim/Template:Class Weapon Table Header}}{{User:Maxim/Template:Class Weapon Table Row1}}{{Class Weapon Table End}}</pre>, which yields:
 +
{{User:Maxim/Template:Class Weapon Table Header}}{{User:Maxim/Template:Class Weapon Table Row1}}{{Class Weapon Table End}}
 +
* I am not entirely certain on the description part, as I would leave unlock descriptions/roles on the appropiate 6v6/HL pages, but I guess that's up for discussion. Another point to keep in mind is that when the table is long, you won't see the header rows when scrolling down, and in the lower rows the banlist becomes unclear as you don't know which column is which league.
 +
* The strings are hardcoded into the template, which is fine, but inefficient. If it was up to me, I'd redo the template to be just a generic table row, which accepts the content as arguments, using the <code>&#123;&#123;#if&#125;&#125;</code> and/or <code>&#123;&#123;#switch&#125;&#125;</code> parser functions. I think it would function much sleeker and smoother.
 +
Anyway, I really like what you've done with these so far. Keep going! --[[User:Atlas|Atlas]] ([[User talk:Atlas|talk]]) 13:59, 6 July 2013 (WEST)

Revision as of 12:59, 6 July 2013

Template:Lowercase title doesn't work. pls fix. -Maxim (talk) 14:33, 3 July 2013 (WEST)

Weapon table templates

I've seen your weapon table templates on the main page discussion, and I've come to the following ideas/conclusions:

  • To fix the formatting error, you need to remove the linebreak between the header and the rows, as such:
    {{User:Maxim/Template:Class Weapon Table Header}}{{User:Maxim/Template:Class Weapon Table Row1}}{{Class Weapon Table End}}
    , which yields:

User:Maxim/Template:Class Weapon Table HeaderUser:Maxim/Template:Class Weapon Table Row1|}

  • I am not entirely certain on the description part, as I would leave unlock descriptions/roles on the appropiate 6v6/HL pages, but I guess that's up for discussion. Another point to keep in mind is that when the table is long, you won't see the header rows when scrolling down, and in the lower rows the banlist becomes unclear as you don't know which column is which league.
  • The strings are hardcoded into the template, which is fine, but inefficient. If it was up to me, I'd redo the template to be just a generic table row, which accepts the content as arguments, using the {{#if}} and/or {{#switch}} parser functions. I think it would function much sleeker and smoother.

Anyway, I really like what you've done with these so far. Keep going! --Atlas (talk) 13:59, 6 July 2013 (WEST)