Template:AchievementRow/doc

From PinataIsland.info, the Viva Piñata wiki
Jump to: navigation, search
This is a documentation subpage for Template:AchievementRow

|- |align="center" width="430"|{{{title}}}
{{{subtitle}}} |align="center" width="160"|{{{imgurl}}}
{{{points}}} G_Icon_External.gif


Documentation

This template inserts the above table code representing one row into an existing table.

It is used in the Achievements article. Proper usage is as follows:

opening of table:

{| border=1 cellspacing="2" cellpadding="5" style="margin: 0 0 1em 1em; background: #e7e7e7; border: 1px #aaaaaa solid; border-collapse: none;"

single achievement row:
{{AchievementRow
| title = 
| subtitle = 
| imgurl = 
| points = 
}}
close of table

|}


Example of a single row entry
{{AchievementRow
| title = Challenger
| subtitle = Successfully completed 5 [[Factory requests]].
| imgurl = http://tiles.xbox.com/tiles/hk/WY/1oCLiGJhbC9FFQRrXVBRGEYyL2FjaC8wLzEAAAAA5+fn+bdFnQ==.jpg
| points = 20
}}

Results in:

Challenger
Successfully completed 5 Factory requests.
1oCLiGJhbC9FFQRrXVBRGEYyL2FjaC8wLzEAAAAA5+fn+bdFnQ==.jpg
20 G_Icon_External.gif