Difference between revisions of "Help:General Templates"

From Alter Aeon Wiki
Line 33: Line 33:
====Looks Like====
====Looks Like====
You execute Shadow strike by typing {{Icode| shadow strike <starget>}}
You execute Shadow strike by typing {{Icode| shadow strike <starget>}}
==!==
This is pretty common in MediaWiki and you'll need to know it if any output you want to show with MUDoutput has pipes in it (See above example of MUDoutput
====Usage====
What I want to do:
<pre>{{MUDoutput|
l board | grep stuff
}}</pre>
What I should do:
<pre>{{MUDoutput|
l board {{!}} grep stuff
}}</pre>

Revision as of 17:40, 28 December 2012

There are a few general templates in use to make MUD-like output look better on the wiki pages:

MUDdisplay

MUDdisplay is the macro you'll want to use when you're simulating output from a command in the MUD

Usage

{{MUDdisplay|

>tac low<
-------------------------------------------------------------------------
Low level attack combinations
-----------------------------------------------------------------
Length 4 {{!}} (missing)     {{!}} leap attack   {{!}} kick          {{!}} (missing)
}}

Looks Like

>tac low<
-------------------------------------------------------------------------
Low level attack combinations
-----------------------------------------------------------------
Length 4 | (missing)     | leap attack   | kick          | (missing)


Icode

Icode is the inline code template, when you want to specific a command a player should execute

Usage

{{Icode| shadow strike <starget>}}

Looks Like

You execute Shadow strike by typing shadow strike <starget>

!

This is pretty common in MediaWiki and you'll need to know it if any output you want to show with MUDoutput has pipes in it (See above example of MUDoutput

Usage

What I want to do:

{{MUDoutput|
l board | grep stuff
}}

What I should do:

{{MUDoutput|
l board {{!}} grep stuff
}}