Difference between revisions of "See"

m (better parameters)
m (syntax)
Line 1: Line 1:
<includeonly><div style="margin-left:1.6em; margin-bottom: 1rem;">''{{{text|See:}}} {{#arraydefine:articles|{{{1|{{error|No article provided. Add an article parameter.}}}}}|,|print=list}}''</div>
+
<includeonly>{{#arraydefine:articles|{{{1|{{error|No article provided. Add an article parameter.}}}}}}}<!-- define article array
 +
--><div style="margin-left:1.6em; margin-bottom: 1rem;">''{{{text|See:}}} {{#arrayprint:articles|,|@|[[@]]}}''</div>
 
</includeonly><noinclude>{{See/Documentation}}</noinclude>
 
</includeonly><noinclude>{{See/Documentation}}</noinclude>

Revision as of 18:31, 19 August 2023

Description

This template provides formatting for a "see" link.

Usage

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

Parameters

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

Errors

No article provided. Add an article parameter.