Difference between revisions of "Template:Quote"

From Projex.Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<!----------------- This "Template:Quote" is by a  
+
<!----------------- This "Template:Quote" is by a first-timer learning to make templates.------------------>
−
                    first-timer learning to make templates.
 
−
------------------>
 
−
 
 
 
<includeonly>
 
<includeonly>
−
 
+
<blockquote style="
−
<blockquote style="color: lightgrey; border: solid thin gray;">
+
color: black;
 +
border: solid thin gray;
 +
padding-top: 10px;
 +
padding-right: 10px;
 +
padding-bottom: 10px;
 +
padding-left: 10px;
 +
">
 
  {{{1}}}
 
  {{{1}}}
 
</blockquote>
 
</blockquote>
−
 
 
</includeonly>
 
</includeonly>
−
 
 
<!---------------------------------------------------->
 
<!---------------------------------------------------->
−
 
 
<noinclude>
 
<noinclude>
−
 
 
<!-- start Documentation -->
 
<!-- start Documentation -->
  
−
<nowiki>
+
Code:</br>
−
 
+
<nowiki><blockquote style="
−
Code:
+
color: black;
−
 
+
border: solid thin gray;
−
<blockquote style="color: lightgrey; border: solid thin gray;">
+
padding-top: 10px;
−
 
+
padding-right: 10px;
−
  {{{1}}}
+
padding-bottom: 10px;
−
 
+
padding-left: 10px;
−
</blockquote>
+
"></nowiki></br>
−
 
+
<nowiki> {{{1}}}</nowiki></br>
−
Usage example:
+
<nowiki></blockquote></nowiki></br>
  
 +
Usage example:</br>
 +
<nowiki> {{ quote | The text you want to quote }} </nowiki></br>
 +
results:</br>
 
{{ quote | The text you want to quote }}
 
{{ quote | The text you want to quote }}
  
−
results:
+
Explanatory example:</br>
−
 
+
<nowiki>"The quick {{{1}}} fox {{{2}}}."</nowiki></br>
−
</nowiki>
+
Then fill the template as</br>
−
 
+
<nowiki>{{quote|brown|jumps}}</nowiki></br>
−
{{ quote | The text you want to quote }}
+
results:</br>
−
 
+
"The quick brown fox jumps."</br>
−
<nowiki>
+
"Quote" is the name of the template.</br>
−
 
+
The #1 in the braces means the first variable of possible several.</br>
−
Explanatory example:
 
−
 
 
−
"The quick {{{1}}} fox {{{2}}}."
 
−
 
 
−
Then fill the template as
 
−
 
 
−
{{quote|brown|jumps}}
 
−
 
 
−
results:
 
−
 
 
−
"The quick brown fox jumps."
 
−
 
 
−
"Quote" is the name of the template.
 
−
 
 
−
The #1 in the braces means the first variable of possible several.
 
−
 
 
−
</nowiki>
 
 
   
 
   
 
<!-- end Documentation -->
 
<!-- end Documentation -->
−
 
 
</noinclude>
 
</noinclude>
  
 
[[Category:Quotes]]
 
[[Category:Quotes]]

Latest revision as of 12:39, 15 July 2024



Code:
<blockquote style=" color: black; border: solid thin gray; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; ">
{{{1}}}
</blockquote>

Usage example:
{{ quote | The text you want to quote }}
results:


The text you want to quote

Explanatory example:
"The quick {{{1}}} fox {{{2}}}."
Then fill the template as
{{quote|brown|jumps}}
results:
"The quick brown fox jumps."
"Quote" is the name of the template.
The #1 in the braces means the first variable of possible several.