Template:Repo link/doc plain text: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Switch to the {{mediawiki}} template.)
(Switch from == to <h2> for the first heading. This is needed as the Mediawiki requirement of the heading starting on a new line may not be satisfied.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Plain text ==
<h2>Plain text</h2>
To create a URL or link as plain text and avoid external links, simply use the <code><nowiki>{{#tag:tagname|content}}</nowiki></code> {{mediawiki|Help:Magic_words|magic word}} construct:
To create a URL or link as plain text and avoid external links, simply use the <code><nowiki>{{#tag:tagname|content}}</nowiki></code> {{mediawiki|Help:Magic_words|magic word}} construct:


Line 12: Line 12:
   | full = 1
   | full = 1
   }}
   }}
}}<noinclude>
}}
 
To use the <nowiki><code></nowiki> tags:
 
{{obr}}#tag:code{{!}}{{obr}}#tag:nowiki{{!}}
  {{obr}}repo link
  {{!}} full = 1
  {{cbr}}
{{cbr}}{{cbr}}
 
{{#tag:code|{{#tag:nowiki|
  {{repo link
  | full = 1
  }}
}}}}<noinclude>


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

Latest revision as of 19:01, 7 March 2016

Plain text

To create a URL or link as plain text and avoid external links, simply use the {{#tag:tagname|content}} magic word construct:

{{#tag:nowiki|
  {{repo link
  | full = 1
  }}
}}

https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/

To use the <code> tags:

{{#tag:code|{{#tag:nowiki|
  {{repo link
  | full = 1
  }}
}}}}

https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/


The following template description is not displayed when the template is inserted in an article.

Goal

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