Forum:New YearTable

From Brickipedia, the LEGO Wiki
Forums - New YearTable
This page is an archive. Please do not edit the contents of this page.


Comment: can't take any action on this wiki because we have no RAM :/


This is currently how we do tables in year articles:

{|class="wikitable" cellspacing="0" cellpadding="4" border="1" style="margin: 0 0 1em 1em; border: 1px #171717 solid; border-collapse: collapse; font-size: 90%;"
|bgcolor="#ff0000"|'''#'''
|bgcolor="#ff0000"|'''Set'''
|bgcolor="#ff0000"|'''Pieces'''
|bgcolor="#ff0000"|'''Figures'''
|bgcolor="#ff0000"|'''Price'''''
|bgcolor="#ff0000"|'''Released'''
|-
|bgcolor="#ffff00" colspan="6"|'''[[Bricks and More]]''' 
|- 
|10655
|[[10655 Monster Trucks|Monster Trucks]]
|197
|3
|19.99
|bgcolor="lightgreen"|Jan. 2013
|-
|10656
|[[10656 Princess|Princess]]
|88
|1
|$9.99 / 12.99 CAD
|bgcolor="lightgreen"|Nov. 2012
|-
|10657
|[[10657 My First LEGO Set|My First LEGO Set]]
|148
|1
|14.99
|bgcolor="lightgreen"|Jan. 2013
|-
|10661
|[[10661 My First LEGO Fire Station|Fire Station]]
|90
|1
|$9.99 / 12.99 CAD
|bgcolor="lightgreen"|Nov. 2012
|-
|bgcolor="#ffff00" colspan="6"|'''[[Castle]]'''
|-
|70400
|[[70400 Forest Ambush|Forest Ambush]]
|
|
|
|bgcolor="red"|2013
|-
|70401
|[[70401 Gold Getaway|Gold Getaway]]
|
|
|
|bgcolor="red"|2013
|-
|70402
|[[70402 The Gatehouse Raid|The Gatehouse Raid]]
|
|
|
|bgcolor="red"|2013
|-
|70403
|[[70403 Dragon Mountain|Dragon Mountain]]
|
|
|
|bgcolor="red"|2013
|-
|70404
|[[70404 Kings Castle|Kings Castle]]
|
|
|
|bgcolor="red"|2013
|-
|bgcolor="#ffff00" colspan="6"|'''[[Creator]]'''
|-
|10232
|[[10232 Palace Cinema|Palace Cinema]]
|2194
|6
|$149.99/199.99 AUS
|bgcolor="orange"|Mar. 2012
|-
|10233
|[[10233 Horizon Express|Horizon Express]]
|1351
|6
|$129.99/169.99 CAD
|bgcolor="lightgreen"|Dec. 2012
|- 
|10250
|[[10250 Year of The Snake|Year of The Snake]]
|
|
|
|bgcolor="lightgreen"|Jan. 2013
|- 
|31000
|[[31000 Mini Speeder|Mini Speeder]]
|65
|None
|$6.99 / 8.99 CAD
|bgcolor="lightgreen"|Nov. 2012
|-
|31001
|[[31001 Mini Skyflyers|Mini Skyflyers]]
|
|None
|$6.99 / 8.99 CAD
|bgcolor="lightgreen"|Nov. 2012
|-
|31002
|[[31002 Super Racers|Super Racers]]
|121
|None
|$14.99 / 17.99 CAD
|bgcolor="lightgreen"|Nov. 2012
|-
|31003
|[[31003 Red Rotors|Red Rotors]]
|
|
|
|bgcolor="lightgreen"|Jan. 2013
|-
|31004
|[[31004 Fierce Flyer|Fierce Flyer]]
|166
|None
|$14.99 / 17.99 CAD
|bgcolor="lightgreen"|Dec. 2012
|-
|31005
|[[31005 Saddle Tractor|Saddle Tractor]]
|256
|None
|$17.99 / 19.99 CAD
|bgcolor="lightgreen"|Nov. 2012
|-
|31006
|[[31006 Highway Speedsters|Highway Speedsters]]
|
|
|
|bgcolor="lightgreen"|Jan. 2013
|-
|31007
|[[31007 Power Mech|Power Mech]]
|233
|None
|$19.99 / 24.99 CAD
|bgcolor="lightgreen"|Nov. 2012
|-
|31008
|[[31008 Thunder Wings|Thunder Wings]]
|235
|None
|$19.99 / 24.99 CAD
|bgcolor="lightgreen"|Nov. 2012
|-
|31009
|[[31009 Small Cottage|Small Cottage]]
|
|1
|$24.99 / 34.99 CAD
|bgcolor="lightgreen"|Dec. 2012
|-
|31010
|[[31010 Treehouse|Treehouse]]
|
|1
|
|bgcolor="red"|2013
|-
|31011
|[[31011 Aviation Adventures|Aviation Adventures]]
|
|
|
|bgcolor="red"|2013
|-
|31012
|[[31012 Family House|Family House]]
|
|2
|
|bgcolor="red"|2013
|}

I'm propsing we change the code to this:

{{YearTable/renovations
|*Bricks and More
|10655 Monster Trucks#G
|10656 Princess#G
|10657 My First LEGO Set#G
|10661 My First LEGO Fire Station#G
|*Castle
|70400 Forest Ambush#R
|70401 Gold Getaway#R
|70402 The Gatehouse Raid#R
|70403 Dragon Mountain#R
|70404 Kings Castle#R
|*Creator
|10232 Palace Cinema#O
|10233 Horizon Express#G
|10250 Year of The Snake#G
|31000 Mini Speeder#G
|31001 Mini Skyflyers#G
|31002 Super Racers#G
|31003 Red Rotors#G
|31004 Fierce Flyer#G
|31005 Saddle Tractor#G
|31006 Highway Speedsters#G
|31007 Power Mech#G
|31008 Thunder Wings#G
|31009 Small Cottage#G
|31010 Treehouse#R
|31011 Aviation Adventures#R
|31012 Family House#R
}}

Much less work, and most things get updated automatically. You can see an example of it here. As you can see, it's basically the same as the table you see on theme articles listing sets. However, there are a few differences:

  • To have the yellow line which says the theme, you make an entry starting with a *. Eg, *Bricks and More instead of just Bricks and More.
  • To change the background colour of the field for the release date, you put #c on the end, where c is R (for red), O (for orange), G (for green).

There are still a few minor problems with it (ref tags mess up semantics and I need to find a workaround), but I think it may be a bit easier and even slightly more user friendly. Thoughts? NovaHawk 23:55, January 27, 2013 (UTC)

  • Sounds good Berrybrick 23:58, January 27, 2013 (UTC)
    • We do currently have:
{{YearTheme|TECHNIC}}
{{YearSet|5223 Wind-Up Motor}}
{{YearSet|8240 Slammer Stunt Bike}}
{{YearSet|8241 Battle Cars}}
{{YearSet|8242 Slammer Turbo}}
{{YearSet|8463 Forklift Truck|1}}
{{YearSet|8464 Pneumatic Front-End Loader}}
{{YearSet|8465 Extreme Off-Roader}}
{{YearSet|8466 4X4 Off-Roader}}

(taken from 2001) User:Captain Jag/sig1 01:56, January 28, 2013 (UTC)