Template:Quote: Difference between revisions

From Ring of Brodgar
Jump to navigation Jump to search
(simple text quoting template)
 
m (color change to be less similar to default <code> color.)
Line 1: Line 1:
<includeonly
<includeonly


>{{#if: {{{2|}}}|<span style="background-color:lavender;"><i>{{{2}}}</i></span>
>{{#if: {{{2|}}}|<span style="background-color:Bisque;"><i>{{{2}}}</i></span>
}}{{#if: {{{1|}}}|>"<span style="background-color:lavender;">{{{1}}}</span>"
}}{{#if: {{{1|}}}|>"<span style="background-color:Bisque;">{{{1}}}</span>"
|>"<span style="background-color:lavender; color:red;">No Text Given</span>"
|>"<span style="background-color:Bisque; color:red;">No Text Given</span>"
}}</includeonly
}}</includeonly


Line 22: Line 22:
:5) {{ {{PAGENAME}}|    |    }}
:5) {{ {{PAGENAME}}|    |    }}
:6) {{ {{PAGENAME}}|Text|Name}}
:6) {{ {{PAGENAME}}|Text|Name}}
<code>code code code</code>
</noinclude>
</noinclude>

Revision as of 12:04, 15 December 2018

Usage and Debug preview:

1) {{quote}}
2) {{quote|    }}
3) {{quote|Text}}
4) {{quote|Text|    }}
5) {{quote|    |    }}
6) {{quote|Text|Name}}
1) >"No Text Given"
2) >"No Text Given"
3) >"Text"
4) >"Text"
5) >"No Text Given"
6) Name>"Text"

code code code