Template:Wish: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(try out a qud look style)
(revert)
Line 9: Line 9:
{{Wish|name=coolwish|usage=coolwish:<foo>:<bar>|synopsis=This wish is cool.|description=
{{Wish|name=coolwish|usage=coolwish:<foo>:<bar>|synopsis=This wish is cool.|description=
Using this wish causes things to be pretty all right in a number of ways.
Using this wish causes things to be pretty all right in a number of ways.
}}</noinclude><includeonly>{{#if:{{{name|}}}|{{Qud look|title={{{name|}}}|text={{#if:{{{synopsis|}}}|{{{synopsis}}}}}
}}</noinclude><includeonly>{{#if:{{{name|}}}|{{{name}}}{{#if:{{{synopsis|}}}|{{Space}} – {{{synopsis}}}}}


Usage:
Usage: <code>{{{usage|{{{name}}}}}}</code>{{#if:{{{description|}}}|:
  {{{usage|{{{name}}}}}}{{#if:{{{description|}}}|:
 
{{{description}}}}}|[[Category:Pages with wish errors]]}}}}</includeonly>
{{{description}}}}}|[[Category:Pages with wish errors]]}}</includeonly>

Revision as of 03:23, 5 August 2020

Example usage:

{{Wish|name=coolwish|usage=coolwish:<foo>:<bar>|synopsis=This wish is cool.|description=
Using this wish causes things to be pretty all right in a number of ways.
}}

This produces:

coolwish – This wish is cool.

Usage: coolwish:<foo>:<bar>

Using this wish causes things to be pretty all right in a number of ways.