Open main menu

Project: Gorgon Wiki β

Changes

Template:Quote

478 bytes added, 16:04, 10 October 2014
m
Testing an optional icon parameter.
<blockquote style="font-style:italic; padding:0 2em 0 1em; margin:1em 0 1em 3.5em; border-left:1px solid #ddd;">
{{ #if: {{{icon|}}}| <div style="position:absolute;left:-32px;top:0;margin-left:-8px;">[[Image:item-icon-{{{icon|none}}}.png]]</div>| <div style="position: absolute; margin-top:-0.2em; margin-left:-1em; font:bold 3em Times New Roman, Times, Georgia, serif; color:#ddd;">“</div>}}
{{{1|Example quoted text.}}}{{#if: {{{source|}}} |
<p style="text-align:right; font-size:0.9em;">— {{ #switch: {{ lc: {{{source|}}} }}
; 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==
{{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=book|
Sherzat has gone mad. I tried to reason with her and was banished from our new home! (...)
}}
</pre>
2,804
edits