Difference between revisions of "Template:QuoteBox2/doc"

From WikiCorporates
Jump to navigation Jump to search
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<small>[[Template:QuoteBox2]]</small>
 
−
 
 
An attempt to re-create WP's [[Template:QuoteBox]], without it refusing to be placed where it is put.
 
An attempt to re-create WP's [[Template:QuoteBox]], without it refusing to be placed where it is put.
  
−
So far, very simple. Takes 2 args, eg:
+
So far, very simple. Takes 2 mandatory args (quote, cite), and 1 optional (width) arg.
 +
==== Example ====
 
<pre>
 
<pre>
−
{{QuoteBox2
+
{{QuoteBox2|width=70%
−
|Public doubt about the science is not an accident. People profiting from business-as-usual fossil fuel use are waging a campaign to discredit the science. Their campaign is effective because the profiteers have learned how to manipulate democracies for their advantage.
+
|quote=Public doubt about the science is not an accident. People profiting from business-as-usual fossil fuel use are waging a campaign to discredit the science. Their campaign is effective because the profiteers have learned how to manipulate democracies for their advantage.
 
|cite=James Hansen, director of the NASA Goddard Institute for Space Studies (1981–2013), [http://www.columbia.edu/~jeh1/mailings/2012/20120127_CowardsPart1.pdf Cowards in Our Democracies: Part 1] (Jan.2012) }}
 
|cite=James Hansen, director of the NASA Goddard Institute for Space Studies (1981–2013), [http://www.columbia.edu/~jeh1/mailings/2012/20120127_CowardsPart1.pdf Cowards in Our Democracies: Part 1] (Jan.2012) }}
 +
</nowiki></tt>
 
</pre>
 
</pre>
−
 
 
Gives:
 
Gives:
−
{{QuoteBox2
+
{{QuoteBox2|width=70%
 
|quote=Public doubt about the science is not an accident. People profiting from business-as-usual fossil fuel use are waging a campaign to discredit the science. Their campaign is effective because the profiteers have learned how to manipulate democracies for their advantage.
 
|quote=Public doubt about the science is not an accident. People profiting from business-as-usual fossil fuel use are waging a campaign to discredit the science. Their campaign is effective because the profiteers have learned how to manipulate democracies for their advantage.
 
|cite=James Hansen, director of the NASA Goddard Institute for Space Studies (1981–2013), [http://www.columbia.edu/~jeh1/mailings/2012/20120127_CowardsPart1.pdf Cowards in Our Democracies: Part 1] (Jan.2012) }}
 
|cite=James Hansen, director of the NASA Goddard Institute for Space Studies (1981–2013), [http://www.columbia.edu/~jeh1/mailings/2012/20120127_CowardsPart1.pdf Cowards in Our Democracies: Part 1] (Jan.2012) }}
  
−
<includeonly>[[Category:WikiPolitiks templates]]}}</includeonly>
+
<includeonly>[[Category:WikiCorporates templates]]}}</includeonly>

Latest revision as of 15:19, 30 May 2020

An attempt to re-create WP's Template:QuoteBox, without it refusing to be placed where it is put.

So far, very simple. Takes 2 mandatory args (quote, cite), and 1 optional (width) arg.

Example

{{QuoteBox2|width=70%
|quote=Public doubt about the science is not an accident. People profiting from business-as-usual fossil fuel use are waging a campaign to discredit the science. Their campaign is effective because the profiteers have learned how to manipulate democracies for their advantage.
|cite=James Hansen, director of the NASA Goddard Institute for Space Studies (1981–2013), [http://www.columbia.edu/~jeh1/mailings/2012/20120127_CowardsPart1.pdf Cowards in Our Democracies: Part 1] (Jan.2012) }}
</nowiki></tt>

Gives:

Public doubt about the science is not an accident. People profiting from business-as-usual fossil fuel use are waging a campaign to discredit the science. Their campaign is effective because the profiteers have learned how to manipulate democracies for their advantage.
— James Hansen, director of the NASA Goddard Institute for Space Studies (1981–2013), Cowards in Our Democracies: Part 1 (Jan.2012)