Difference between revisions of "Template:Repo link/doc design overview"

From relax wiki
Jump to navigation Jump to search
(Spacing improvement - removal of a trailing newline if the 'site' parameter is not set.)
 
m (Switch from the imported {{informative template}} to the relax {{template info}} template)
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
<noinclude>
 
<noinclude>
  
{{Informative template|1=
+
{{template info|1=
 
== Goal ==
 
== Goal ==
  

Latest revision as of 13:40, 23 October 2020

Overview

The general design is:

<cmd> <opt> [<URL> <TEXT>] <post>

Here the square brackets do not denote optional text, but will instead produce a Mediawiki link. This can be modified by setting full = 1 to produce:

<cmd> <opt> <URL> <post>


Template documentation

Goal

To provide documentation of the design of the {{repo link}} family of templates. This is only for use within documentation of the subtemplates.

Usage

{{repo link/doc design overview
| site =
| text =
}}