Template:Qud quote/doc: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Created page with "<syntaxhighlight lang="sml"> {{Qud quote|'''&WThe Tiger''' The tiger He destroyed his cage Yes YES The tiger is out &c- Nael, age 6}} </syntaxhighlight> {{Qud quo...")
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<syntaxhighlight lang="sml">
== Usage ==
{{Qud quote|'''&amp;WThe Tiger'''
<code><nowiki>{{qud quote|This is a quote.}}</nowiki></code> prints:


The tiger
{{Qud quote|This is a quote.}}
He destroyed his cage
Yes
YES
The tiger is out


&amp;c- Nael, age 6}}
<code><nowiki>{{qud quote|This is a quote.|Author}}</nowiki></code> prints:
</syntaxhighlight>


{{Qud quote|'''&amp;WThe Tiger'''
{{Qud quote|This is a quote.|Author}}


The tiger
<code><nowiki>{{qud quote|This is a quote.|Author|subject}}</nowiki></code> prints:
He destroyed his cage
Yes
YES
The tiger is out


&amp;c- Nael, age 6}}
{{qud quote|This is a quote.|Author|subject}}
 
<code><nowiki>{{qud quote|This is a quote.|[[Main Page|Some guy]]|subject}}</nowiki></code> prints:
 
{{qud quote|This is a quote.|[[Main Page|Some guy]]|subject}}
 
<code><nowiki>{{qud quote|This is an unidented quote.|noindent=true}}</nowiki></code> prints:
 
{{Qud quote|This is an unindented quote.|noindent=true}}
 
<code><nowiki>{{qud quote|This shows off three additional parameters: fullwidth, centered, and bordercolor|fullwidth=true|bordercolor=green|centered=true}}</nowiki></code>
 
{{qud quote|This shows off three additional parameters: fullwidth, centered, and bordercolor|fullwidth=true|bordercolor=green|centered=true}}
{{doc/end}}

Latest revision as of 01:05, 20 December 2020

Usage

{{qud quote|This is a quote.}} prints:

This is a quote.

{{qud quote|This is a quote.|Author}} prints:

This is a quote.

— Author

{{qud quote|This is a quote.|Author|subject}} prints:

This is a quote.

— Author, subject

{{qud quote|This is a quote.|[[Main Page|Some guy]]|subject}} prints:

This is a quote.

Some guy, subject

{{qud quote|This is an unidented quote.|noindent=true}} prints:

This is an unindented quote.

{{qud quote|This shows off three additional parameters: fullwidth, centered, and bordercolor|fullwidth=true|bordercolor=green|centered=true}}

This shows off three additional parameters: fullwidth, centered, and bordercolor