Template:Slashcommand

From Unofficial Homecoming Wiki
Revision as of 06:31, 3 May 2007 by imported>Sekoia (correcting the {{if}})
Jump to navigation Jump to search

/[[{{{1}}} (Slash Command)|{{{1}}}]]Template:If: "#if{{{1}}}:{{{2}}}" should give {{#if{{{1}}}:{{{2}}}|true|false}} but may not be evaluated due to the expansion depth limit.

Usage

{{slashcommand|command|options}}

This template to be used in the middle of articles where all that is needed is the slash command. Also includes a link to the command.

See also Template:SlashCommandArticle and Template:slashCommand (note the upper-case C).

Examples

{{slashcommand|petcom_all|commands}}
/petcom_allTemplate:If: "#if{{{1}}}:{{{2}}}" should give {{#if{{{1}}}:{{{2}}}|true|false}} but may not be evaluated due to the expansion depth limit.
{{slashcommand|petcom_all}}
/petcom_allTemplate:If: "#if{{{1}}}:{{{2}}}" should give {{#if{{{1}}}:{{{2}}}|true|false}} but may not be evaluated due to the expansion depth limit.
Testing the {{slashcommand|petcom_all}} in a sentence.
Testing the /petcom_allTemplate:If: "#if{{{1}}}:{{{2}}}" should give {{#if{{{1}}}:{{{2}}}|true|false}} but may not be evaluated due to the expansion depth limit. in a sentence.