Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Difference between revisions of "Template:Quote"

From TWC Wiki
Jump to navigationJump to search
(testing... will see if works)
 
m (cat)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<blockquote class="templatequote"><div>{{{text|{{{1|<noinclude>texttexttexttexttexttext</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}}
 
<blockquote class="templatequote"><div>{{{text|{{{1|<noinclude>texttexttexttexttexttext</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}}
</div>{{#if:{{{sign|{{{2|<noinclude>TRUE</noinclude>}}}}}}|<div class="templatequotecite">&#8212;{{{sign|{{{2|<noinclude>[[Total War|Total War]]</noinclude>}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}|,&nbsp;<cite>{{{source|{{{3|<noinclude><small>''Source''</small></noinclude>}}}}}}</cite>}}</div >}}</blockquote><noinclude>
+
</div>{{#if:{{{sign|{{{2|<noinclude>TRUE</noinclude>}}}}}}|<div class="templatequotecite">&#8212;{{{sign|{{{2|<noinclude>[[Total War|Total War]]</noinclude>}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}|,&nbsp;<cite>{{{source|{{{3|<noinclude>''Source''</noinclude>}}}}}}</cite>}}</div >}}</blockquote><noinclude>
  
<noinclude>test text
+
<noinclude>
[[Category:Template]]</noinclude>
+
 
 +
<small>''Template code source:''Wikipedia;Creative Commons Attribution-ShareAlike License</small>
 +
== Usage ==
 +
'''<nowiki>{{quote}}</nowiki>''' <nowiki>adds blockquotes to text without the use of HTML <blockquote></blockquote> tags.</nowiki>
 +
 
 +
 
 +
Note: You will have to type quotation marks yourself.
 +
 
 +
===Quickcode===
 +
<nowiki>{{quote|text=the phrase or quote|sign=quoted from who or who said it|source=the place you got the quote}}</nowiki>
 +
This gives the text below.
 +
{{quote|text=the phrase or quote|sign=quoted from who or who said it|source=the place you got the quote}}
 +
 
 +
You can also use this template with unnamed parameters. (meaning no text= or sign=) Use the code below to do so:
 +
<nowiki>{{quote|NOMNOMNOM|My cat if I had one|When he's eating}}</nowiki>
 +
This gives the text below.
 +
{{quote|NOMNOMNOM|My cat if I had one|When hes eating}}
 +
If you like to add <nowiki><small></small></nowiki> tags to the source text like I do, you can.
 +
{{quote|NOMNOMNOM|My cat if I had one|<small>When he's eating</small>}}
 +
 
 +
There, you have it! Now go out into the world of wikis and have fun!
 +
[[Category:Formatting Template]]</noinclude>

Latest revision as of 06:57, 15 May 2019

texttexttexttexttexttext
Total WarSource


Template code source:Wikipedia;Creative Commons Attribution-ShareAlike License

Usage

{{quote}} adds blockquotes to text without the use of HTML <blockquote></blockquote> tags.


Note: You will have to type quotation marks yourself.

Quickcode

{{quote|text=the phrase or quote|sign=quoted from who or who said it|source=the place you got the quote}}

This gives the text below.

the phrase or quote
—quoted from who or who said it, the place you got the quote

You can also use this template with unnamed parameters. (meaning no text= or sign=) Use the code below to do so:

{{quote|NOMNOMNOM|My cat if I had one|When he's eating}}

This gives the text below.

NOMNOMNOM
—My cat if I had one, When hes eating

If you like to add <small></small> tags to the source text like I do, you can.

NOMNOMNOM
—My cat if I had one, When he's eating

There, you have it! Now go out into the world of wikis and have fun!