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. Eg:
+
So far, very simple. Takes 2 mandatory args, and 1 optional width arg.
 +
==== Example ====
 
<tt><nowiki>
 
<tt><nowiki>
 
{{QuoteBox2|width=60%
 
{{QuoteBox2|width=60%

Revision as of 22:31, 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, and 1 optional width arg.

Example

{{QuoteBox2|width=60% |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) }}

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)