Difference between revisions of "Help:General Templates"

From Alter Aeon Wiki
(Created page with "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 simula...")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
There are a few general templates in use to make MUD-like output look better on the wiki pages:
There are a few general templates in use to make MUD-like output look better on the wiki pages:


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


Line 13: Line 13:
Length 4 {{!}} (missing)    {{!}} leap attack  {{!}} kick          {{!}} (missing)
Length 4 {{!}} (missing)    {{!}} leap attack  {{!}} kick          {{!}} (missing)
}}</pre>
}}</pre>
====Looks Like====
{{MUDdisplay|
>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====
<pre>{{Icode| shadow strike <starget>}}</pre>
====Looks Like====
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>
[[Category:Help]]

Latest revision as of 21:22, 29 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
}}