Difference between revisions of "Template:AchievementRow/doc"

From PinataIsland.info, the Viva Piñata wiki
Jump to: navigation, search
(This is a documentation subpage for Template:AchievementRow)
 
(must show table code in the noinclude to make the document make sense)
 
Line 1: Line 1:
 
<includeonly>: ''This documentation is transcluded from [[Template:AchievementRow/doc]]''</includeonly><!--
 
<includeonly>: ''This documentation is transcluded from [[Template:AchievementRow/doc]]''</includeonly><!--
--><noinclude><div class="messagebox" style="padding-left:1ex;">'''This is a documentation subpage for [[Template:AchievementRow]]'''</div></noinclude><!--
+
--><noinclude><div class="messagebox" style="padding-left:1ex;">'''This is a documentation subpage for [[Template:AchievementRow]]'''</div>
 +
 
 +
{{Template:AchievementRow}}
 +
</noinclude><!--
 
-->
 
-->
  

Latest revision as of 12:25, 26 August 2008

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