Difference between revisions of "Template:AchievementRow"

From PinataIsland.info, the Viva Piñata wiki
Jump to: navigation, search
m (transclude documentation)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
|-
 
|-
|align="center" width="430" style="margin:2px; padding: 2px; " |'''{{{title}}}'''<br />{{{subtitle}}}
+
|align="center" width="430"|'''{{{title}}}'''<br />{{{subtitle}}}
|align="center" width="160" style="margin:2px; padding: 2px; " |{{{imgurl}}}<br />{{{points}}} http://live.xbox.com/xweb/lib/images/G_Icon_External.gif
+
|align="center" width="160"|{{{imgurl}}}<br />{{{points}}} http://live.xbox.com/xweb/lib/images/G_Icon_External.gif<noinclude>
 +
 
 +
 
 +
{{Template:AchievementRow/doc}}}</noinclude>

Latest revision as of 12:19, 26 August 2008

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


This documentation is transcluded from Template:AchievementRow/doc

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
}