Difference between revisions of "Template:Template reference list"

From blackwiki
Jump to navigation Jump to search
blackwiki>Tomchen1989
(now support multiple "group" attributes)
blackwiki>Edokter
(header anchor, use #tag:)
Line 1: Line 1:
{{#if:{{NAMESPACE}}|<h2><span class="mw-headline">References</span></h2>
+
{{#if:{{NAMESPACE}}|<h2><span class="mw-headline" id="References">References</span></h2>
 
{{rellink|These references will appear in the article, but this list appears only on this page.}}
 
{{rellink|These references will appear in the article, but this list appears only on this page.}}
<references/>
+
{{#tag:references}}
 
{{#if:{{{1|}}}|
 
{{#if:{{{1|}}}|
 
{{rellink|The references of group "{{{1}}}":}}
 
{{rellink|The references of group "{{{1}}}":}}
{{#tag:references||group={{{1}}}}}|}}
+
{{#tag:references||group={{{1}}}}}}}
 
{{#if:{{{2|}}}|
 
{{#if:{{{2|}}}|
 
{{rellink|The references of group "{{{2}}}":}}
 
{{rellink|The references of group "{{{2}}}":}}
{{#tag:references||group={{{2}}}}}|}}
+
{{#tag:references||group={{{2}}}}}}}
 
{{#if:{{{3|}}}|
 
{{#if:{{{3|}}}|
 
{{rellink|The references of group "{{{3}}}":}}
 
{{rellink|The references of group "{{{3}}}":}}
{{#tag:references||group={{{3}}}}}|}}
+
{{#tag:references||group={{{3}}}}}}}
 
{{#if:{{{4|}}}|
 
{{#if:{{{4|}}}|
 
{{rellink|The references of group "{{{4}}}":}}
 
{{rellink|The references of group "{{{4}}}":}}
{{#tag:references||group={{{4}}}}}|}}
+
{{#tag:references||group={{{4}}}}}}}
 
{{#if:{{{5|}}}|
 
{{#if:{{{5|}}}|
 
{{rellink|The references of group "{{{5}}}":}}
 
{{rellink|The references of group "{{{5}}}":}}
{{#tag:references||group={{{5}}}}}|}}
+
{{#tag:references||group={{{5}}}}}}}
 
{{#if:{{{6|}}}|
 
{{#if:{{{6|}}}|
 
{{rellink|The references of group "{{{6}}}":}}
 
{{rellink|The references of group "{{{6}}}":}}
{{#tag:references||group={{{6}}}}}|}}
+
{{#tag:references||group={{{6}}}}}}}
 
}}<noinclude>__NOTOC__ {{documentation}}
 
}}<noinclude>__NOTOC__ {{documentation}}
 
[[simple:Template:Template reference list]]
 
[[simple:Template:Template reference list]]
 
</noinclude>
 
</noinclude>

Revision as of 01:38, 29 December 2010

References

Template:Rellink

50px Template documentation[create]

simple:Template:Template reference list