Difference between revisions of "Template:RefCols"

From WikiCorporates
Jump to navigation Jump to search
m
m
Line 1: Line 1:
−
<div style="margin-top:0.3em; margin-bottom:0.5em; {{#if:{{{width|}}}|-moz-column-width:{{{width}}}; -webkit-column-width:{{{width}}}; column-width:{{{width}}};|-moz-column-width:30em; -webkit-column-width:30em; column-width:30em;}} -moz-column-rule:1px solid #aaa; -webkit-column-rule:1px solid #aaa; column-rule:1px solid #aaa; font-size:80%}};">{{{content}}}</div><noinclude>{{doc2}}</noinclude>
+
<div style="margin-top:0.3em; margin-bottom:0.5em; {{#if:{{{width|}}}|-moz-column-width:{{{width}}}; -webkit-column-width:{{{width}}}; column-width:{{{width}}};|-moz-column-width:30em; -webkit-column-width:30em; column-width:30em;}} -moz-column-rule:1px solid #aaa; -webkit-column-rule:1px solid #aaa; column-rule:1px solid #aaa; font-size:70%}};">{{{content}}}</div><noinclude>{{doc2}}</noinclude>

Revision as of 22:10, 11 May 2018

{{{content}}}

[edit] Documentation

Usage

A template to (a) put references in two or more columns, depending on browser window width; (b) make the font smaller (90%); (c) add a border bottom to "enclose" the references.

This is a paragraph of random text, littered with references.[1] (ECO2t) replaced ECO2, running until Sept.2018[2] He changed the law so that local people have the final say on windfarm applications.[3] Energy Secretary Amber Rudd said "We've got enough wind energy".[4] The Energy Company Obligation (ECO2) replaced ECO1.[2] The Green Deal was re-launched, but this time as grants rather than loans.[5] A Green Deal Home Improvement Fund was added to try to improve takeup; households were eligible to claim up to £7,600 for home improvements. The Fund closed in Sept.2014, due to overwhelming demand.[6]

To use:

== References ==
{{RefCols|content=
<references>
<ref name="bbc-2015.07.23">{{Src|ref|date=Jul.23.2015|...
<ref name="gov-2018.04.20">{{Src|ref|accessdate=Apr.20.2018|...
<ref name="gov-2015.06.18">{{Src|ref|date=Jun.18.2015|...
</references>
}}

References