Changes

Jump to navigation Jump to search

Template:Repo link/doc design overview

917 bytes added, 19:03, 7 March 2016
Spacing improvement - removal of a trailing newline if the 'site' parameter is not set.
<h3>Overview</h3>
{{#ifeq: {{{site|}}} | 1
| Independent of the {{param|site}} parameter, the general design is:
| The general design is:
}}
{{#ifeq: {{{text|1}}} | 1
| <pre><nowiki><cmd> <opt> [<URL> <TEXT>] <post></nowiki></pre>

Here the square brackets do not denote optional text, but will instead produce a Mediawiki link. This can be modified by setting {{param|full|1}} to produce:
}}
<nowiki><cmd> <opt> <URL> <post></nowiki>
{{#ifeq: {{{site|}}} | 1 | The URL is constructed differently for each of the categories of the {{param|site}} parameter.}}
<noinclude>

{{Informative template|1=
== Goal ==

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

== Usage ==

{{obr}}repo link/doc design overview
{{!}} ''site'' =
{{!}} ''text'' =
{{cbr}}

}}

[[Category:Repository link templates]]
</noinclude>
Trusted, Bureaucrats
4,228

edits

Navigation menu