Difference between revisions of "Template:Quote"

From PotterworldMC
Jump to: navigation, search
m (Try again)
m (Update template for if no author is given)
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
{{!}}- style="background: transparent; text-align: center; border-width: 0px;"  
 
{{!}}- style="background: transparent; text-align: center; border-width: 0px;"  
 
{{!}} style="padding: 10px 10px; text-align: center; border-width: 0px; font-family: 'Merriweather', sans-serif; font-size: 5em; line-height: 0.02em; font-weight: bold; color: #ecbf62;  border-right: 3px solid #ecbf62;  padding: 25px 0.06em 0em 0.2em;" {{!}} "
 
{{!}} style="padding: 10px 10px; text-align: center; border-width: 0px; font-family: 'Merriweather', sans-serif; font-size: 5em; line-height: 0.02em; font-weight: bold; color: #ecbf62;  border-right: 3px solid #ecbf62;  padding: 25px 0.06em 0em 0.2em;" {{!}} "
−
{{!}} style="padding: 10px 15px;text-align: left; border-width: 0px; color: #c2bcb2; font-family: 'Merriweather', sans-serif;"|
+
{{!}} style="padding: 10px 15px;text-align: left; border-width: 0px; font-family: 'Merriweather', sans-serif; color: #c2bcb2;"|
 
''{{{1}}}''
 
''{{{1}}}''
 
{{!}}- style="background: transparent; text-align: center; border-width: 0px;"  
 
{{!}}- style="background: transparent; text-align: center; border-width: 0px;"  
−
{{!}} style="padding: 0px 10px; text-align: center; border-width: 0px; font-family: 'Merriweather', sans-serif; font-size: 5em; line-height: 0.02em; font-weight: bold; color: #ecbf62;  border-right: 3px solid #ecbf62;" {{!}}
+
{{!}} style="padding: 0px 0px; text-align: center; border-width: 0px; font-family: 'Merriweather', sans-serif; font-size: 5em; line-height: 0.02em; font-weight: bold; color: #ecbf62;  border-right: 3px solid #ecbf62;" {{!}}
−
{{!}} style="padding: 0px 15px;text-align: right; border-width: 0px; color: #c2bcb2; font-family: 'Merriweather', sans-serif;"|
+
{{!}} style="padding: 0px 10px;text-align: right; border-width: 0px; font-family: 'Merriweather', sans-serif; color: #c2bcb2;"|
−
- {{{2}}}
+
{{#if:{{{2|}}}|- {{{2}}}}}
 
{{!}}}
 
{{!}}}
 
</includeonly><noinclude>=Example Use=
 
</includeonly><noinclude>=Example Use=
−
<pre>{{Template:Quote|Salutations young one. Congratulations on completing your first year. You have already proven yourself worthy of your place at Hogsworth, and I can't wait to see what you will achieve in the future.|Headmaster Droobledore}}</pre>
+
<pre>{{Quote|Salutations young one. Congratulations on completing your first year. You have already proven yourself worthy of your place at Hogsworth, and I can't wait to see what you will achieve in the future.|Headmaster Droobledore}}</pre>
 
==Result==
 
==Result==
−
{{Template:Quote|Salutations young one. Congratulations on completing your first year. You have already proven yourself worthy of your place at Hogsworth, and I can't wait to see what you will achieve in the future.|Headmaster Droobledore}}
+
{{Quote|Salutations young one. Congratulations on completing your first year. You have already proven yourself worthy of your place at Hogsworth, and I can't wait to see what you will achieve in the future.|Headmaster Droobledore}}
  
 
[[Category: Templates]]
 
[[Category: Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:52, 22 March 2025

Example Use

{{Quote|Salutations young one. Congratulations on completing your first year. You have already proven yourself worthy of your place at Hogsworth, and I can't wait to see what you will achieve in the future.|Headmaster Droobledore}}

Result

"

Salutations young one. Congratulations on completing your first year. You have already proven yourself worthy of your place at Hogsworth, and I can't wait to see what you will achieve in the future.

- Headmaster Droobledore