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)
 
(It works! yayz)
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>
 +
== 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 hes 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 hes eating</small>}}
 +
 
 +
There, you have it! Now go out into the world of wikis and have fun!
 
[[Category:Template]]</noinclude>
 
[[Category:Template]]</noinclude>

Revision as of 15:14, 27 December 2010

texttexttexttexttexttext
Total WarSource


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 hes 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 hes eating

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