Template:Reflist420: Difference between revisions

From SW420
Jump to navigation Jump to search
Created page with "==Notes and references== {{#ifeq:{{{1}}}|Scroll|{{Scroll_box||}} {{Reflist}} {{#ifeq:{{{1}}}|Scroll|}}||}}"
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Notes and references==
<includeonly>==Notes and references==
{{#ifeq:{{{1}}}|Scroll|{{Scroll_box||}}
{{#switch:{{{1}}}
{{Reflist}}
| Scroll = {{Scroll_box|{{Reflist}}}}
{{#ifeq:{{{1}}}|Scroll|}}||}}
| 2 = <div class="references-small references-column-count references-column-count-2" style="column-count: 2;"><references /></div>
| #default = {{Reflist}}
}}</includeonly><noinclude>
 
==Usage==
Use this template to create a Notes and references section in an article.
 
I got tired of typing both the section and Reflist. This also allows for adding options Scroll or 2 to build in the scrollbox or 2 columns.
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 06:19, 6 March 2023


Usage

Use this template to create a Notes and references section in an article.

I got tired of typing both the section and Reflist. This also allows for adding options Scroll or 2 to build in the scrollbox or 2 columns.