Difference between revisions of "See"

m (Added link to upcoming documentation page)
m (parameter name change)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>''{{{label|{{{text|See:}}}}}} {{#if: {{{1|}}} | [[{{{1|}}}]] | {{error|Error: No article provided.}}}}{{#if: {{{2|}}} | , [[{{{2}}}]] }}{{#if: {{{3|}}} | , [[{{{3}}}]] }}{{#if: {{{4|}}} | , [[{{{4}}}]] }}{{#if: {{{5|}}} | , [[{{{5}}}]] }}''
+
<includeonly>{{#arraydefine:articles|{{{1|{{error|No article provided. Add an article parameter.}}}}}}}<!-- define article array
 +
--><div style="margin-left:1.6em; margin-bottom: 1rem;">''{{{2|See:}}} {{#arrayprint:articles|,&nbsp;|@|[[@]]}}''</div>
 
</includeonly><noinclude>{{See/Documentation}}</noinclude>
 
</includeonly><noinclude>{{See/Documentation}}</noinclude>

Latest revision as of 18:32, 19 August 2023

Description[edit]

This template provides formatting for a "see" link.

Usage[edit]

{{see|<Corepunk_Wiki, Corepunk_Wiki>}}
{{see|<Corepunk Wiki>|<Primary article:>}}

Parameters[edit]

Arrow.png1: The comma-separated articles to be linked.
Required.
Arrow.png2: The label that preceeds the article link.
Optional. Defaults to 'See:'.

Errors[edit]

No article provided. Add an article parameter.