Difference between revisions of "Template:Quote/doc"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
== Usage ==
+
This template adds a [[wikipedia:block quotation|block quotation]] to an article page.
  
* Copy and paste:
+
== Parameters ==
 +
<pre>
 +
{{Quote
 +
| text  =
 +
| sign =
 +
| source =
 +
| size =
 +
}}
 +
</pre>
  
<pre>{{quote|citing phrase or stament|name}}</pre>
+
*<code>text</code> is the text to quote.
 +
**<code>quote</code> can be substituted for <code>text</code>
 +
*<code>sign</code> is its author.
 +
**<code>cite</code> can be substituted for <code>sign</code>
 +
*<code>source</code> is the source of the quote (internal or external links can be used).
 +
*<code>size</code> is the prefered font size, entered as a number
  
=== Example ===
+
== Examples ==
 +
=== Basic use ===
 +
<pre>
 +
{{quote
 +
| text = Fast human-sized combat mechanoids built for medium and long-range combat. Their bodies are light, making them vulnerable targets at close range - especially in melee combat.
 +
}}
 +
</pre>
 +
produces:
 +
{{quote
 +
| text = Fast human-sized combat mechanoids built for medium and long-range combat. Their bodies are light, making them vulnerable targets at close range - especially in melee combat.
 +
}}
  
<pre>{{quote|This is the original text|A name|A source}}</pre>
+
=== Author displayed ===
 +
<pre>
 +
{{quote
 +
| text = The best historians of the Ordo Historia believe that humanity first left its origin planet Earth about 3,400 years ago.
 +
| sign = [[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]
 +
}}
 +
</pre>
 +
produces:
 +
{{quote
 +
| text = The best historians of the Ordo Historia believe that humanity first left its origin planet Earth about 3,400 years ago.
 +
| sign = [[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]
 +
}}
  
Gives:
+
=== Author and source displayed ===
 
+
<pre>
{{quote|This is the original text|A name|A source}}
+
{{quote
 
+
| text = We want the Ludeon community to be enjoyable, informative, and inviting to as many people as possible, while also supporting respectful disagreement, unpopular views, and edgy content that is posted in good faith.
They can also be used to quote non-people, and accept links
+
| sign = Tynan Sylvester (RimWorld Developer)
 
+
| source = "[https://ludeon.com/forums/index.php?topic=40838.msg405535#msg405535 Ludeon community rules]", ludeon.com/forums
<pre>{{quote|The best historians of the Ordo Historia believe that humanity first left its origin planet Earth about 3,400 years ago.|"The basics"|[[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]}}</pre>
+
}}
 
+
</pre>
Gives:
+
produces:
 
+
{{quote
{{quote|The best historians of the Ordo Historia believe that humanity first left its origin planet Earth about 3,400 years ago.|"The basics"|[[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]}}
+
| text = We want the Ludeon community to be enjoyable, informative, and inviting to as many people as possible, while also supporting respectful disagreement, unpopular views, and edgy content that is posted in good faith.
 
+
| sign = Tynan Sylvester (RimWorld Developer)
The fourth parameter sets font size.
+
| source = "[https://ludeon.com/forums/index.php?topic=40838.msg405535#msg405535 Ludeon community rules]", ludeon.com/forums
<pre>{{quote|This text is smaller|A small name|A small source|10}}</pre>
+
}}
 
+
=== Size ===
Gives:
 
 
 
{{quote|This text is smaller|A small name|A small source|10}}
 
 
 
 
 
Lastly, parameters can be set by name instead of by argument position.
 
 
<pre>
 
<pre>
{{quote|text=This is text|cite=this is the name|source=this is the source|size=10}}
+
{{quote
{{quote|quote=This is also the text|sign=this is also the name}}</pre>
+
| text = We realize this may be a lot to take in. However, don’t worry. People just like you live full lives in our universe, and our studies have indicated that the great majority of cryptosleepers do adapt within a few years and make good lives for themselves. So - welcome!
 
+
| sign = "Welcome!"
Gives:
+
| source = [[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]
{{quote|text=This is text|cite=this is the name|source=this is the source|size=10}}
+
| size = 10
{{quote|quote=This is also the text|sign=this is also the name}}
+
}}
 +
</pre>
 +
produces:
 +
{{quote
 +
| text = We realize this may be a lot to take in. However, don’t worry. People just like you live full lives in our universe, and our studies have indicated that the great majority of cryptosleepers do adapt within a few years and make good lives for themselves. So - welcome!
 +
| sign = "Welcome!"
 +
| source = [[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]
 +
| size = 10
 +
}}
 +
<includeonly>
 +
[[Category:Templates]]
 +
</includeonly>

Revision as of 05:44, 4 September 2021

This template adds a block quotation to an article page.

Parameters

{{Quote
| text   =
| sign =
| source =
| size = 
}}
  • text is the text to quote.
    • quote can be substituted for text
  • sign is its author.
    • cite can be substituted for sign
  • source is the source of the quote (internal or external links can be used).
  • size is the prefered font size, entered as a number

Examples

Basic use

{{quote
| text = Fast human-sized combat mechanoids built for medium and long-range combat. Their bodies are light, making them vulnerable targets at close range - especially in melee combat.
}}

produces:

Fast human-sized combat mechanoids built for medium and long-range combat. Their bodies are light, making them vulnerable targets at close range - especially in melee combat.

Author displayed

{{quote
| text = The best historians of the Ordo Historia believe that humanity first left its origin planet Earth about 3,400 years ago.
| sign = [[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]
}}

produces:

The best historians of the Ordo Historia believe that humanity first left its origin planet Earth about 3,400 years ago.

Author and source displayed

{{quote
| text = We want the Ludeon community to be enjoyable, informative, and inviting to as many people as possible, while also supporting respectful disagreement, unpopular views, and edgy content that is posted in good faith.
| sign = Tynan Sylvester (RimWorld Developer)
| source = "[https://ludeon.com/forums/index.php?topic=40838.msg405535#msg405535 Ludeon community rules]", ludeon.com/forums
}}

produces:

We want the Ludeon community to be enjoyable, informative, and inviting to as many people as possible, while also supporting respectful disagreement, unpopular views, and edgy content that is posted in good faith.

Size

{{quote
| text = We realize this may be a lot to take in. However, don’t worry. People just like you live full lives in our universe, and our studies have indicated that the great majority of cryptosleepers do adapt within a few years and make good lives for themselves. So - welcome! 
| sign = "Welcome!"
| source = [[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]
| size = 10
}}

produces:

We realize this may be a lot to take in. However, don’t worry. People just like you live full lives in our universe, and our studies have indicated that the great majority of cryptosleepers do adapt within a few years and make good lives for themselves. So - welcome!