Wiki template

Wiki template

Postby Edward_Lii » 07 Jan 2012, 13:42

Hello all,

I've made a template for the wiki that can be used to make illustrations of level elements.
The template creates a row of blocks using the images of the blocks.

Usage:
Here's the syntax for the BlockRow:
{l Code}: {l Select All Code}
{{BlockRow|<size>|<block1>|<block2>|<block3>|<blockN>}}

The number of blocks that are visible depend on the value given as size.
To get a normal block followed by a gap and at the end a shadow block simply add this to the page:
{l Code}: {l Select All Code}
{{BlockRow|3|Block||ShadowBlock}}

The name of the blocks are the names of the images used in the block list.

Currently the max number of blocks in a row is 6, but can easily be extended.
To make a field of blocks simple create multiple BlockRows with the same size.

Here you can see it in action: http://meandmyshadow.sourceforge.net/wiki/index.php/Skill_elements
From,
Edward_Lii
User avatar
Edward_Lii
MnMS Moderator
 
Posts: 777
Joined: 20 Dec 2010, 16:46

Re: Wiki template

Postby Edward_Lii » 15 Jan 2012, 13:36

Hello all,

I've made a small update to the template.
Empty blocks now have an image to make it easier to see the number of blocks on a row.
Image
From,
Edward_Lii
User avatar
Edward_Lii
MnMS Moderator
 
Posts: 777
Joined: 20 Dec 2010, 16:46

Who is online

Users browsing this forum: No registered users and 1 guest