Template:Gallery: Difference between revisions
From WikiBound, your community-driven EarthBound/Mother wiki
Jump to navigationJump to search
m (moved User:Tina/gallery to Template:Gallery: All done with the template, moving to templatespace) |
No edit summary |
||
Line 2: | Line 2: | ||
| align="center" colspan="4" style="background: #ffa265; width: 75%; {{roundy|15px}}" | '''{{{galleryname|Gallery}}}''' | | align="center" colspan="4" style="background: #ffa265; width: 75%; {{roundy|15px}}" | '''{{{galleryname|Gallery}}}''' | ||
|- | |- | ||
<noinclude>{{doc}} [[Category:Table templates]]</noinclude> |
Revision as of 03:33, 25 December 2010
{{Gallery}} {{Gallery/cell|1|2|3}} {{Gallery/cell|1|2|3}} {{Gallery/cell|1|2|3}} {{Gallery/cell|1|2|3}} |- {{Gallery/cell|1|2|3}} {{Gallery/cell|1|2|3}} |}
To start the gallery, first put {{Gallery}} as a header. Then, for each row of information, use {{Gallery/cell}}. Seperate every four cells with a |-, or else the template may break. End the table with |}.
Template:Gallery/cell's parameters are as follows:
- 1 - Replace "1" with the image filename, including the extension. Like 'example.png'
- 2 - Replace "2" with a size for the image to be resized to. Default is 80px. However, if you're putting sprites in a gallery, it's recommended that you put in a tooltip (so instead of putting in a size, just put in a small caption like "Example's sprite in Mother"). This way, the sprite isn't large and blurry.
- 3 - Replace "3" with a caption for the image.
Gallery |