In response to the SNCApocalypse, a new administrator, Faggot, will serve alongside the owner SNCA Enthusiast/Gold. He has actual knowledge on the inner workings of a site like this, so contact him instead of Gold for technical issues.

Template:Reflist: Difference between revisions

From SNCApedia
Jump to navigationJump to search
removing this until templatestyles is installed
No edit summary
 
Line 1: Line 1:
<includeonly>
<h2>{{#if:{{{custom header|}}}|{{{custom header|}}}|{{#switch:{{{group|}}}|upper-alpha|upper-roman|lower-alpha|lower-greek|lower-roman=Notes|Citations}}}}</h2>
=={{#if:{{{custom header|}}}|{{{custom header|}}}|{{#switch:{{{group|}}}|upper-alpha|upper-roman|lower-alpha|lower-greek|lower-roman=Notes|Citations}}}}==
<templatestyles src="Reflist/styles.css" /><div class="reflist <!--
<div class="reflist <!--
-->{{#if:{{{1|}}}{{{colwidth|}}}|reflist-columns references-column-width}} <!--
-->{{#if:{{{1|}}}{{{colwidth|}}}|reflist-columns references-column-width}} <!--
-->{{#switch:{{{liststyle|{{{group|}}}}}}|upper-alpha|upper-roman|lower-alpha|lower-greek|lower-roman=reflist-{{{liststyle|{{{group}}}}}}}} <!--
-->{{#switch:{{{liststyle|{{{group|}}}}}}|upper-alpha|upper-roman|lower-alpha|lower-greek|lower-roman=reflist-{{{liststyle|{{{group}}}}}}}} <!--
Line 9: Line 8:
     | {{#if: {{{colwidth|}}}|style="column-width: {{{colwidth}}};"}}
     | {{#if: {{{colwidth|}}}|style="column-width: {{{colwidth}}};"}}
     }}>
     }}>
{{#tag:references|{{{refs|}}}|group={{{group|}}}|responsive={{#if:{{{1|}}}{{{colwidth|}}}|0|1}}}}</div>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using reflist with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Reflist]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | colwidth | group | liststyle | refs | custom header}}</includeonly><noinclude>Generates a Citation header and all the references listed in the document
{{#tag:references|{{{refs|}}}|group={{{group|}}}|responsive={{#if:{{{1|}}}{{{colwidth|}}}|0|1}}}}</div>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using reflist with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Reflist]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | colwidth | group | liststyle | refs | custom header}}<noinclude>{{documentation}}</noinclude>
==Usage==
<pre>{{reflist}}</pre>
 
If the article uses references with a named group (only lower-alpha is currently supported), a reflist with the corresponding characters can be made with
<pre>{{reflist|group=group_name}}</pre>
 
A custom header can be used with the parameter <code>custom header</code> <pre>{{reflist|custom header=Header Name}}</pre>
</noinclude>

Latest revision as of 22:09, 1 August 2025

Citations