Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:PG/Quote: Difference between revisions

Template page
imported>BetaNotus
Replaced icon with Item icon, to allow for flexibility. Will rewrite documentation soon.
 
Update Quote template for dark theme: smaller quote mark, darker colors
 
Line 1: Line 1:
<blockquote style="font-style:italic;padding:0 2em 0 1em;margin:1em 0 1em 3.5em;border-left:1px solid #ddd;position:relative;">
<blockquote style="font-style:italic;padding:0 2em 0 1em;margin:1em 0 1em 2em;border-left:2px solid #423930;position:relative;">
{{ #if: {{{icon|}}}
{{ #if: {{{icon|}}}
| <div style="position:absolute;left:-32px;top:0;margin-left:-8px;"><span class="extimage32px">{{Item icon|{{{icon|}}}}}</span> </div>
| <div style="position:absolute;left:-32px;top:0;margin-left:-8px;"><span class="extimage32px">{{Item icon|{{{icon|}}}}}</span> </div>
| <div style="position:absolute;margin-top:-0.2em;margin-left:-1em;font:bold 3em Times New Roman, Times, Georgia, serif;color:#ddd;"></div>
| <div style="position:absolute;margin-top:-0.1em;margin-left:-0.6em;font:bold 1.5em Georgia, serif;color:#6B5B4E;">"</div>
}}
}}
{{{1|Example quoted text.}}}{{#if: {{{source|}}} |
{{{1|Example quoted text.}}}{{#if: {{{source|}}} |
Line 11: Line 11:
}}</p> | }}
}}</p> | }}
</blockquote><noinclude>
</blockquote><noinclude>
{{clear}}__NOTOC__
See [[Template:PG/Quote]] for documentation.
==Description==
'''Quote in-game text (NPC talk, lore items, etc) and official sources'''. Often used at top of an NPC article to add a little flavour (lore) to the page. Can also be used to quote developers from blogs/interviews.
 
==Syntax==
<pre>
{{Quote|source=<source>|icon=<code>|
<quote text>
}}
</pre>
 
==Parameters==
; source
: '''Optional'''. Note that this can contain a link, so you can link to dev blog, or to any other wiki page.
; icon
: OPTIONAL. An icon can be floated to the left, instead of the quote character. Use the codes from [[Item Icons Guide]].
 
==Examples==
A basic quote without a source:
<pre>
{{Quote|
Quoted message goes here.
}}
</pre>
 
Quoting an NPC, using source to link to their wiki article:
<pre>
{{Quote|source=[[Ukorga]]|
Well, well, look what the snow blew in.
}}
</pre>
 
Quoting a developer blog post:
<pre>
{{Quote|source=[http://projectgorgon.com/2014/05/design-issues-still-needing-improvement/ Developer blog]|
I’m leaving the Rage system alone for now, until we have more players grouping up. (...)
}}
</pre>
 
Quoting an in-game book. Note that we have two named parameters now:
<pre>
{{Quote|source=Second Journal|icon=How To Be An Artist|
Sherzat has gone mad. I tried to reason with her and was banished from our new home! (...)
}}
</pre>
{{Link Template Demos}}
 
[[Category:Formatting templates|Quote]]
[[Category:Formatting templates|Quote]]
</noinclude>
</noinclude>

Latest revision as of 00:42, 8 April 2026

"

Example quoted text.

See Template:PG/Quote for documentation.