Difference between revisions of "Template:Quote/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Getting rid of fake links)
 
Line 20: Line 20:
  
 
{{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]]}}
 
{{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]]}}
 +
 +
The fourth parameter sets font size.
 +
<pre>{{quote|This text is smaller|A small name|A small source|10}}</pre>
 +
 +
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>
 +
{{quote|text=This is text|cite=this is the name|source=this is the source|size=10}}
 +
{{quote|quote=This is also the text|sign=this is also the name}}</pre>
 +
 +
Gives:
 +
{{quote|text=This is text|cite=this is the name|source=this is the source|size=10}}
 +
{{quote|quote=This is also the text|sign=this is also the name}}

Revision as of 05:30, 4 September 2021

Usage

  • Copy and paste:
{{quote|citing phrase or stament|name}}

Example

{{quote|This is the original text|A name|A source}}

Gives:

This is the original text

— A name,  A source

They can also be used to quote non-people, and accept links

{{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]]}}

Gives:

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

— "The basics",  Cryptosleep Revival Briefing

The fourth parameter sets font size.

{{quote|This text is smaller|A small name|A small source|10}}

Gives:

This text is smaller

— A small name,  A small source


Lastly, parameters can be set by name instead of by argument position.

{{quote|text=This is text|cite=this is the name|source=this is the source|size=10}}
{{quote|quote=This is also the text|sign=this is also the name}}

Gives:

This is text

Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)