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

From relax wiki
Jump to navigation Jump to search
(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.)
 
m (Switch from the imported {{informative template}} to the relax {{template info}} template)
 
(One intermediate revision by the same user not shown)
Line 28: Line 28:
 
}}}}<noinclude>
 
}}}}<noinclude>
  
{{Informative template|1=
+
{{template info|1=
 
== Goal ==
 
== Goal ==
  

Latest revision as of 13:39, 23 October 2020

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/nmr-relax/code/ci/master/tree/

To use the <code> tags:

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

https://sourceforge.net/p/nmr-relax/code/ci/master/tree/

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.