Editing Template:Quote/doc

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
== Use ==
 
 
This template adds a [[wikipedia:block quotation|block quotation]] to an article page.
 
This template adds a [[wikipedia:block quotation|block quotation]] to an article page.
 
It is a simplified version of Wikipedia's [[wikipedia:Template:Blockquote|Template:Blockquote]].
 
  
 
== Parameters ==
 
== Parameters ==
This template doesn't need the parameters to be named if kept in the right order:
 
 
<pre>{{quote|Quote text|A name|A source|Size}}</pre>
 
 
Nevertheless, they can be named if some values do not exist, or contain special characters (e.g. "<code>=</code>" inside a web address).
 
 
Note that the "source" will display a comma and a space in front of it, so it needs to be preceded by an "author".
 
 
 
<pre>
 
<pre>
 
{{Quote
 
{{Quote
 
| text  =
 
| text  =
| author =
+
| sign =
 
| source =
 
| source =
| size   =
+
| size =  
| large  =
 
 
}}
 
}}
 
</pre>
 
</pre>
  
* <code>text</code>: the text to quote.
+
*<code>text</code> is the text to quote.
* <code>author</code>: its author.
+
**<code>quote</code> can be substituted for <code>text</code>
* <code>source</code>: the source of the quote (internal or external links can be used).
+
*<code>sign</code> is its author.
* <code>size</code>: the prefered font size in pixels (should <u>not</u> be used in articles).
+
**<code>cite</code> can be substituted for <code>sign</code>
* <code>large</code>: used to display the quote in a bigger size (used on top of articles principally). Any value will activate it, but preferably use "yes".
+
*<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
  
 
== Examples ==
 
== Examples ==
=== Unnamed parameters (normal size) ===
+
=== Basic use ===
 
<pre>
 
<pre>
{{Quote | Legends say that an old thrumbo is the wisest creature in the universe – it simply chooses not to speak | Thrumbo description| RimWorld }}
+
{{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>
 
</pre>
 
produces:
 
produces:
{{Quote | Legends say that an old thrumbo is the wisest creature in the universe – it simply chooses not to speak | Thrumbo description| RimWorld }}
+
{{quote
Note the gap between the quote the following paragraph.
+
| 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.
 +
}}
  
=== Large ===
+
=== Author displayed ===
 
<pre>
 
<pre>
{{Quote
+
{{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.
+
| text = The best historians of the Ordo Historia believe that humanity first left its origin planet Earth about 3,400 years ago.
| author = Tynan Sylvester (RimWorld Developer)
+
| sign = [[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]
| source = "[https://ludeon.com/forums/index.php?topic=40838.msg405535#msg405535 Ludeon community rules]", ''ludeon.com/forums''
 
| large  = yes
 
 
}}
 
}}
 
</pre>
 
</pre>
 
produces:
 
produces:
{{Quote
+
{{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.
+
| text = The best historians of the Ordo Historia believe that humanity first left its origin planet Earth about 3,400 years ago.
| author = Tynan Sylvester (RimWorld Developer)
+
| sign = [[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]
| source = "[https://ludeon.com/forums/index.php?topic=40838.msg405535#msg405535 Ludeon community rules]", ''ludeon.com/forums''
 
| large  = yes
 
 
}}
 
}}
  
 +
=== Author and source displayed ===
 +
<pre>
 +
{{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
 +
}}
 +
</pre>
 +
produces:
 +
{{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
 +
}}
 
=== Size ===
 
=== Size ===
{{error|Not to be used in articles.}}
 
 
<pre>
 
<pre>
{{Quote
+
{{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!  
+
| 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!  
| author = "Welcome!"
+
| sign = "Welcome!"
 
| source = [[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]
 
| source = [[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]
| size   = 10
+
| size = 10
 
}}
 
}}
 
</pre>
 
</pre>
 
produces:
 
produces:
{{Quote
+
{{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!  
+
| 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!  
| author = "Welcome!"
+
| sign = "Welcome!"
 
| source = [[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]
 
| source = [[Lore#Cryptosleep Revival Briefing|Cryptosleep Revival Briefing]]
| size   = 10
+
| size = 10
 
}}
 
}}
 
+
<includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
+
[[Category:Templates]]
<includeonly>[[Category:Formatting templates]]</includeonly>
+
</includeonly>

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page: