Template:Wish: Difference between revisions

55 bytes added ,  21:00, 5 August 2020
oops, fix closing tag
(fix heading level)
(oops, fix closing tag)
Line 1: Line 1:
<noinclude>Example usage:
<noinclude>{{Tocright}}


<pre>{{Wish|name=coolwish|usage=coolwish:<foo>:<bar>|synopsis=This wish is cool.|description=
Example usage:
 
<syntaxhighlight lang="mediawiki">{{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.
}}</pre>
}}</syntaxhighlight>


This produces:
This produces:
Line 9: Line 11:
{{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><div><div style="font-size:medium; margin: 0.4em 0 0 0; padding:0.5em 1em; display:flex; flex-wrap:wrap; align-items:center; background:#061c17;">{{#if:{{{name|{{{usage|}}}}}}|<div style="width:480px;max-width:100%;"><h4 style="padding-top:0;margin-top:0;"><code>{{{usage|{{{name}}}}}}</code></h3></div><div>{{#if:{{{synopsis|}}}|{{{synopsis}}}}}</div></div>{{#if:{{{description|}}}|<div class="qud-box" style="font-family:inherit;margin:0;padding:0.5em 1em 0.7em 3em;border:0;">{{{description}}}</div>}}|[[Category:Pages with wish errors]]}}</div></includeonly>
}}</noinclude><includeonly><div><div style="font-size:medium; margin: 0.4em 0 0 0; padding:0.5em 1em; display:flex; flex-wrap:wrap; align-items:center; background:#061c17;">{{#if:{{{name|{{{usage|}}}}}}|<div style="width:480px;max-width:100%;"><h4 style="padding-top:0;margin-top:0;"><code>{{{usage|{{{name}}}}}}</code></h4></div><div>{{#if:{{{synopsis|}}}|{{{synopsis}}}}}</div></div>{{#if:{{{description|}}}|<div class="qud-box" style="font-family:inherit;margin:0;padding:0.5em 1em 0.7em 3em;border:0;">{{{description}}}</div>}}|[[Category:Pages with wish errors]]}}</div></includeonly>