Difference between revisions of "Template:Gear-Item"

From PSU Cyril Wiki
Jump to: navigation, search
(Finally ready for people to test and try out hope everyone likes it)
 
m (removing 2 spaces for multi element display formating)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>|- {{Color-{{{Grade}}}}}  
 
<includeonly>|- {{Color-{{{Grade}}}}}  
| [[{{{Name}}}]] || {{#if:{{{Logo|}}}|{{Logo-{{{Logo}}}}}|}} || {{#if:{{{Type|}}}|{{{{{Type}}} icon}}|}} || {{#if:{{{Element|}}}|{{{{{Element}}} icon}}|}} {{#if:{{{Element2|}}}|{{{{{Element2}}} icon}}|}} {{#if:{{{Element3|}}}|{{{{{Element3}}} icon}}|}} {{#if:{{{Element4|}}}|{{{{{Element4}}} icon}}|}} || {{#if:{{{Element-Amount|}}}|{{{Element-Amount}}}|}} || {{#if:{{{Grinds|}}}|{{{Grinds}}}|}} || {{#if:{{{Stars|}}}|{{{{{Stars}}} stars}}|}} || {{#if:{{{PA|}}}|[[{{{PA}}}]]|}} {{#if:{{{PA2|}}}|[[{{{PA2}}}]]|}} {{#if:{{{PA3|}}}|[[{{{PA3}}}]]|}} {{#if:{{{PA4|}}}|[[{{{PA4}}}]]|}}
+
| [[{{{Name}}}]] || {{#if:{{{Logo|}}}|{{Logo-{{{Logo}}}}}|}} || {{#if:{{{Type|}}}|{{{{{Type}}} icon}}|}} || {{#if:{{{Element|}}}|{{{{{Element}}}}}|}}{{#if:{{{Element2|}}}|{{{{{Element2}}}}}|}} {{#if:{{{Element3|}}}|{{{{{Element3}}}}}|}}{{#if:{{{Element4|}}}|{{{{{Element4}}}}}|}} || {{#if:{{{Element-Amount|}}}|{{{Element-Amount}}}|}} || {{#if:{{{Grinds|}}}|{{{Grinds}}}|}} || {{#if:{{{Stars|}}}|{{{{{Stars}}} stars}}|}} || {{#if:{{{PA|}}}|[[{{{PA}}}]]|}} {{#if:{{{PA2|}}}|[[{{{PA2}}}]]|}} {{#if:{{{PA3|}}}|[[{{{PA3}}}]]|}} {{#if:{{{PA4|}}}|[[{{{PA4}}}]]|}}</includeonly>
</includeonly>
 
 
<noinclude>
 
<noinclude>
 
'''Gear Display Template Information'''
 
'''Gear Display Template Information'''
  
Parameters for Gear-Item are
+
'''Parameters for Gear-Item are'''
Grade (C, B, A, S)
+
*Grade (C, B, A, S)
Name (Crea Saber, Halarod, Ect)
+
*Name (Crea Saber, Halarod)
Logo (G, Y, K, T)
+
*Logo (G, Y, K, T)
Type (Saber, Axe, Rifle)
+
*Type (Saber, Axe, Rifle)
Element, Element2, Element3, Element4 (Fire, Ice, Light, Ect)
+
*Element, Element2, Element3, Element4 (Fire, Ice, Light)
Element-Amount (10%, 20%, Ect)
+
*Element-Amount (10%, 20%)
Grinds (1, 2, 3, 7, 9, Ect)
+
*Grinds (1, 2, 3, 7, 9)
Stars (1, 2, 3, 4, Ect)
+
*Stars (1, 2, 3, 4)
PA (Dark Shot, Foie, Ect)
+
*PA (Dark Shot, Foie)
  
 
'''Example'''
 
'''Example'''
  
<nowiki>
+
<pre>
{{User:KyTin/Gear-Start}}
+
{{Gear-Start}}
{{User:KyTin/Gear-Item |Name=Creasaber|Grade=A|Type=Saber|Stars=7|Logo=G}}
+
{{Gear-Item |Name=Crea Saber|Grade=A|Type=Saber|Stars=7|Logo=G|Element=Fire|Element-Amount=20%|PA=Rising Strike}}
{{User:KyTin/Gear-Item |Name=Creasaber|Grade=A|Type=Saber|Stars=7|Logo=G}}
+
{{Gear-Item |Name=Crea Saber|Grade=A|Type=Saber|Stars=7|Logo=G|Element=Ice|Element-Amount=20%}}
{{User:KyTin/Gear-Item |Name=Creasaber|Grade=A|Type=Saber|Stars=7|Logo=G}}
+
{{Gear-Item |Name=Crea Saber|Grade=A|Type=Saber|Stars=7|Logo=G|Element=Light|Element-Amount=20%}}
{{User:KyTin/Gear-End}}
+
{{Gear-End}}
</nowiki>
+
</pre>
  
 
'''Output'''
 
'''Output'''
{{User:KyTin/Gear-Start}}
+
{{Gear-Start}}
{{User:KyTin/Gear-Item |Name=Creasaber|Grade=A|Type=Saber|Stars=7|Logo=G}}
+
{{Gear-Item |Name=Crea Saber|Grade=A|Type=Saber|Stars=7|Logo=G|Element=Fire|Element-Amount=20%|PA=Rising Strike}}
{{User:KyTin/Gear-Item |Name=Creasaber|Grade=A|Type=Saber|Stars=7|Logo=G}}
+
{{Gear-Item |Name=Crea Saber|Grade=A|Type=Saber|Stars=7|Logo=G|Element=Ice|Element-Amount=20%}}
{{User:KyTin/Gear-Item |Name=Creasaber|Grade=A|Type=Saber|Stars=7|Logo=G}}
+
{{Gear-Item |Name=Crea Saber|Grade=A|Type=Saber|Stars=7|Logo=G|Element=Light|Element-Amount=20%}}
{{User:KyTin/Gear-End}}
+
{{Gear-End}}
 +
 
 +
----
 +
 
 +
Use with [[Template:Gear-Start]] & [[Template:Gear-End]].
 
</noinclude>
 
</noinclude>

Latest revision as of 19:57, 9 November 2007


Gear Display Template Information

Parameters for Gear-Item are

  • Grade (C, B, A, S)
  • Name (Crea Saber, Halarod)
  • Logo (G, Y, K, T)
  • Type (Saber, Axe, Rifle)
  • Element, Element2, Element3, Element4 (Fire, Ice, Light)
  • Element-Amount (10%, 20%)
  • Grinds (1, 2, 3, 7, 9)
  • Stars (1, 2, 3, 4)
  • PA (Dark Shot, Foie)

Example

{{Gear-Start}}
{{Gear-Item |Name=Crea Saber|Grade=A|Type=Saber|Stars=7|Logo=G|Element=Fire|Element-Amount=20%|PA=Rising Strike}}
{{Gear-Item |Name=Crea Saber|Grade=A|Type=Saber|Stars=7|Logo=G|Element=Ice|Element-Amount=20%}}
{{Gear-Item |Name=Crea Saber|Grade=A|Type=Saber|Stars=7|Logo=G|Element=Light|Element-Amount=20%}}
{{Gear-End}}

Output

Name Manufacturer Type Element Grinds Stars Photon Art
Crea Saber G.R.M.
Sabers
Fire 20% Star-C.gifStar-C.gifStar-C.gifStar-B.gifStar-B.gifStar-B.gifStar-A.gifStar-Grey.gifStar-Grey.gifStar-Grey.gif Rising Strike
Crea Saber G.R.M.
Sabers
Ice 20% Star-C.gifStar-C.gifStar-C.gifStar-B.gifStar-B.gifStar-B.gifStar-A.gifStar-Grey.gifStar-Grey.gifStar-Grey.gif
Crea Saber G.R.M.
Sabers
Light 20% Star-C.gifStar-C.gifStar-C.gifStar-B.gifStar-B.gifStar-B.gifStar-A.gifStar-Grey.gifStar-Grey.gifStar-Grey.gif



Use with Template:Gear-Start & Template:Gear-End.