Difference between revisions of "Template:QuoteBox2/doc"

From WikiCorporates
Jump to navigation Jump to search
m
m
Line 3: Line 3:
 
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 mandatory args, and 1 optional width arg.
+
So far, very simple. Takes 2 mandatory args (quote, cite), and 1 optional (width) arg.
 
==== Example ====
 
==== Example ====
−
<tt><nowiki>
+
<pre>
−
{{QuoteBox2|width=60%
+
{{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) }}
 
</nowiki></tt>
 
</nowiki></tt>
−
 
+
</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:WikiPolitiks templates]]}}</includeonly>

Revision as of 22:32, 8 January 2019

<<Template:QuoteBox2

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)