Template:Cquote: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Documentation template)
(+ Known issue: The ref tag; style)
Line 4: Line 4:
|valign=bottom |[[Image:cquote2.png|20px]]
|valign=bottom |[[Image:cquote2.png|20px]]
|}</includeonly><noinclude>{{Informative template|1=
|}</includeonly><noinclude>{{Informative template|1=
__NOTOC__
== Goal ==
== Goal ==
This template provides a box for information about a quote.
This template provide a means to do pretty quotes.


== Usage ==
== Usage ==
<code><nowiki>{{Cquote|Quote of someone|Person that is quoted}}</nowiki></code>
<nowiki>{{</nowiki>'''cquote'''<nowiki>|</nowiki>Quote of someone<nowiki>|</nowiki>''Person that is quoted''<nowiki>}}</nowiki>
Note that '''Person that is quoted''' is optional.


=== Example ===
== Example ==
<code><nowiki>{{cquote|... FlightGear .. is completely open source — it has a rich set of existing external interfaces, and most of the major configuration can be done with standard XML-based text files. We make no attempts to obfuscate or hide our internals. This is big win for people using FlightGear as an academic or research platform, or for those that want to interface it to their own home-built cockpits|Curtis L. Olson}}</nowiki></code>
<pre style="white-space: pre-wrap;">{{cquote|... FlightGear .. is completely open source — it has a rich set of existing external interfaces, and most of the major configuration can be done with standard XML-based text files. We make no attempts to obfuscate or hide our internals. This is big win for people using FlightGear as an academic or research platform, or for those that want to interface it to their own home-built cockpits|Curtis L. Olson}}</pre>


{{cquote|... FlightGear .. is completely open source — it has a rich set of existing external interfaces, and most of the major configuration can be done with standard XML-based text files. We make no attempts to obfuscate or hide our internals. This is big win for people using FlightGear as an academic or research platform, or for those that want to interface it to their own home-built cockpits|Curtis L. Olson}}
{{cquote|... FlightGear .. is completely open source — it has a rich set of existing external interfaces, and most of the major configuration can be done with standard XML-based text files. We make no attempts to obfuscate or hide our internals. This is big win for people using FlightGear as an academic or research platform, or for those that want to interface it to their own home-built cockpits|Curtis L. Olson}}
== Known issues ==
The <code><nowiki><ref></nowiki></code> wiki tag can not be used in the '''Person that is quoted''' parameter.  The work-around is to instead use them in the end of the '''Quote of someone''' parameter.
}}
}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 18:28, 19 January 2014

The following template description is not displayed when the template is inserted in an article.


Goal

This template provide a means to do pretty quotes.

Usage

{{cquote|Quote of someone|Person that is quoted}}

Note that Person that is quoted is optional.

Example

{{cquote|... FlightGear .. is completely open source — it has a rich set of existing external interfaces, and most of the major configuration can be done with standard XML-based text files. We make no attempts to obfuscate or hide our internals. This is big win for people using FlightGear as an academic or research platform, or for those that want to interface it to their own home-built cockpits|Curtis L. Olson}}
Cquote1.png ... FlightGear .. is completely open source — it has a rich set of existing external interfaces, and most of the major configuration can be done with standard XML-based text files. We make no attempts to obfuscate or hide our internals. This is big win for people using FlightGear as an academic or research platform, or for those that want to interface it to their own home-built cockpits
— Curtis L. Olson
Cquote2.png

Known issues

The <ref> wiki tag can not be used in the Person that is quoted parameter. The work-around is to instead use them in the end of the Quote of someone parameter.