Difference between revisions of "See"

m (Added line break after template)
m (parameter name change)
 
(8 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
</includeonly><noinclude>
+
--><div style="margin-left:1.6em; margin-bottom: 1rem;">''{{{2|See:}}} {{#arrayprint:articles|,&nbsp;|@|[[@]]}}''</div>
== Description ==
+
</includeonly><noinclude>{{See/Documentation}}</noinclude>
This template provides formatting for a "see" link.
 
== Parameters ==
 
{{Bullet}}'''(unnamed parameter)''': The first article to be linked.
 
:{{Bullet}}'''(unnamed parameter)''': Optional. The second article to be linked.
 
:{{Bullet}}'''(unnamed parameter)''': Optional. The third article to be linked.
 
:{{Bullet}}'''(unnamed parameter)''': Optional. The fourth article to be linked.
 
:{{Bullet}}'''(unnamed parameter)''': Optional. The fifth article to be linked.
 
 
 
{{Bullet}} '''text''': Optional. The label that appears prior to the articlelink. (defaults to "See:")
 
== Usage ==
 
<pre>{{see|Corepunk_Wiki}}
 
{{see|Corepunk_Wiki|Corepunk_Wiki}}
 
{{see|Corepunk_Wiki|Corepunk_Wiki|Corepunk_Wiki}}
 
{{see|Corepunk_Wiki|Corepunk_Wiki|Corepunk_Wiki|Corepunk_Wiki}}
 
{{see|Corepunk_Wiki|Corepunk_Wiki|Corepunk_Wiki|Corepunk_Wiki|Corepunk_Wiki}}
 
{{see|text=Main article:|Corepunk_Wiki}}</pre></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.