Welcome to Wars Wiki!
Welcome, new users! For help on where to start, look at our getting started page and our manual of style. Need more help? Ask a staff member!

User:KC-Earthshaker/Sandbox: Difference between revisions

From Wars Wiki
m
no edit summary
mNo edit summary
mNo edit summary
Line 53: Line 53:
|ATKrange=1
|ATKrange=1
|fuel=99
|fuel=99
|vision=1}}
|vision=1
|first=yes}}
{{unitlist/entry
{{unitlist/entry
|imagename=Megatank-small.png
|imagename=Megatank-small.png
Line 116: Line 117:
|ATKrange=???
|ATKrange=???
|fuel=99
|fuel=99
|vision=4}}
|vision=4
|first=yes}}
{{unitlist/entry
{{unitlist/entry
|imagename=Oozium-small.png
|imagename=Oozium-small.png
Line 170: Line 172:
|ATKrange=???
|ATKrange=???
|fuel=99
|fuel=99
|vision=4}}
|vision=4
|first=yes}}
{{unitlist/entry
{{unitlist/entry
|imagename=Black Boat-small.png
|imagename=Black Boat-small.png
Line 233: Line 236:
|ATKrange=???
|ATKrange=???
|fuel=99
|fuel=99
|vision=1}}
|vision=1
{{unitlist/footer}}
|first=yes}}
 
 
 
 
Header:
{| style="background: #787887; -moz-border-radius: 10px; border: 2px solid #B8B8D0" colspan=4 cellspacing="2" cellpadding="4" {{#if: {{{width|}}} | width={{{width|100}}}% | }}
|-
! colspan="2" style="background: #D1D1E0; {{#ifeq: {{{1}}}|space|color:#FFFFFF}}; -moz-border-radius-topleft: 5px;" | Unit
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" | Type
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" | Cost
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" | Mvmt
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}};" | Fuel
! style="background: #D1D1E0;  {{#ifeq: {{{1}}}|space|color:#FFFFFF}}; -moz-border-radius-topright: 5px;" | Vision<noinclude>
|}
 
 
Body:
<noinclude>{|</noinclude>
|- style="background: #FFFFFF;"
| align="center" | [[Image:{{{imagename}}}]]
| align="center" | {{{display|[[{{{unitname}}}]]}}}
| align="left" | {{{terraintype}}}
| align="left" | {{{cost}}}
| align="left" | {{{movementrange}}}
| align="left" | {{{fuel}}}
| align="left" | {{{vision}}}<noinclude>
|} [[Category:Table templates]]</noinclude>
 
 
Footer:
<noinclude>{|</noinclude>
|-
| colspan="4" style="background: #D1D1E0; -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px;" |
|}<noinclude>
[[Category:Table templates]]</noinclude>
 
 
Okay, this is what the <b>unitlist</b> combo does now:
{{unitlist/header}}
{{unitlist/entry|
imagename=Infantry-small.png|
unitname=Infantry|
terraintype=Land|
cost=1,000|
movementrange=3|
attackrange=1|
fuel=99|
vision=3}}
{{unitlist/entry|
imagename=Infantry-small.png|
unitname=Infantry|
terraintype=Land|
cost=1,000|
movementrange=3|
attackrange=1|
fuel=99|
first=yes|
vision=3}}
{{unitlist/entry|
imagename=Infantry-small.png|
unitname=Infantry|
terraintype=Land|
cost=1,000|
movementrange=3|
attackrange=1|
fuel=99|
vision=3}}
{{unitlist/footer}}
{{unitlist/footer}}
...why on Earth is the Vision info floating? o_0  I have to run some errands, but I'll be back later tonight to tackle this. — [[User:KC-Earthshaker|<sup style="color:#7038F8"><b>K</b></sup>]][[User Talk:KC-Earthshaker|<span style="color:#7038F8"><b><small>C</small></b></span>]] 20:30, 17 June 2010 (UTC)
: Huh, strange. I'll see if I can figure it out... ~[[User:FireFly|FireFly]] <sup>[[User talk:FireFly|t]]</sup><sub style="margin-left:-4px">[[Special:Contributions/FireFly|c]]</sub> 20:36, 17 June 2010 (UTC)
: Seems the source for the others are "<td> foo </td>", but for some reason the vision entry is surrounded by newlines instead :\. ~[[User:FireFly|FireFly]] <sup>[[User talk:FireFly|t]]</sup><sub style="margin-left:-4px">[[Special:Contributions/FireFly|c]]</sub> 20:39, 17 June 2010 (UTC)
: Ta-daa! :) ~[[User:FireFly|FireFly]] <sup>[[User talk:FireFly|t]]</sup><sub style="margin-left:-4px">[[Special:Contributions/FireFly|c]]</sub> 21:05, 17 June 2010 (UTC)
::Haha, awesome! — [[User:KC-Earthshaker|<sup style="color:#7038F8"><b>K</b></sup>]][[User Talk:KC-Earthshaker|<span style="color:#7038F8"><b><small>C</small></b></span>]] 21:18, 17 June 2010 (UTC)
::: I think we should rename the parameters a bit, I think "name" and "type" would work better, since, well, each entry is about a unit anyway, so "unit-" is kind of implied, and I think it's more of a unit type rather than a terrain type. Also, I'll go to bed soon. ~[[User:FireFly|FireFly]] <sup>[[User talk:FireFly|t]]</sup><sub style="margin-left:-4px">[[Special:Contributions/FireFly|c]]</sub> 21:33, 17 June 2010 (UTC)
::: Oh, attack range, that's nice! But I think "Atk" would work better, and I presume we take the longer of two weapons, if two are available? ~[[User:FireFly|FireFly]] <sup>[[User talk:FireFly|t]]</sup><sub style="margin-left:-4px">[[Special:Contributions/FireFly|c]]</sub> 21:34, 17 June 2010 (UTC)
::::Not a problem, I was just thinking about renaming them a little.  Actually, I hadn't considered that some units have two weapons.  Maybe it should be the primary weapon range...?  Then again, we could split the Attack Range column into two, one for primary weapon, one for secondary. — [[User:KC-Earthshaker|<sup style="color:#7038F8"><b>K</b></sup>]][[User Talk:KC-Earthshaker|<span style="color:#7038F8"><b><small>C</small></b></span>]] 21:38, 17 June 2010 (UTC)
:::::Great, I'll rename those parameters then. That's a great idea, to split the attack column in two. I love how you did with colspan in the "Unit" header, by the way, it looks great with the split between sprite and name! ~[[User:FireFly|FireFly]] <sup>[[User talk:FireFly|t]]</sup><sub style="margin-left:-4px">[[Special:Contributions/FireFly|c]]</sub> 21:40, 17 June 2010 (UTC)
:::::Oh, and also, what's <b>{{{display}}}</b> in the entry template? ~[[User:FireFly|FireFly]] <sup>[[User talk:FireFly|t]]</sup><sub style="margin-left:-4px">[[Special:Contributions/FireFly|c]]</sub> 21:42, 17 June 2010 (UTC)
::::::I don't remember, actually...  It may not really be needed, but I'll leave it there for now. — [[User:KC-Earthshaker|<sup style="color:#7038F8"><b>K</b></sup>]][[User Talk:KC-Earthshaker|<span style="color:#7038F8"><b><small>C</small></b></span>]] 22:29, 17 June 2010 (UTC)