Template:Cata: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Confocal (talk | contribs)
Created page with "<includeonly>[https://catagolue.hatsya.com/{{{1}}} {{{2}}}]</includeonly><noinclude>This is a lightweight template to create links to Catagolue. By design, no additional formatting is applied to the link; : <tt><nowiki>{{cata|path|text}}</nowiki></tt> should give the same link as : <tt><nowiki>[https://catagolue.hatsya.com/path text]</nowiki></tt> There are two required unnamed parameters. First parameter is the URL suffix. Second parameter is the displayed link tex..."
 
Confocal (talk | contribs)
autocategory, move documentation to subpage
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>[https://catagolue.hatsya.com/{{{1}}} {{{2}}}]</includeonly><noinclude>This is a lightweight template to create links to [[Catagolue]]. By design, no additional formatting is applied to the link;
<includeonly>[https://catagolue.hatsya.com/{{{1}}} {{{2}}}]{{#switch:{{NAMESPACENUMBER}}|0|102=[[Category:Pages that link to Adam P. Goucher's Catagolue]]}}</includeonly><noinclude>{{/Doc}}[[Category:Templates]]</noinclude>
: <tt><nowiki>{{cata|path|text}}</nowiki></tt>
should give the same link as
: <tt><nowiki>[https://catagolue.hatsya.com/path text]</nowiki></tt>
 
There are two required unnamed parameters. First parameter is the URL suffix. Second parameter is the displayed link text.
 
== Examples ==
 
* <tt><nowiki>{{cata|object/xp15_4r4z4r4/b3s23|xp15_4r4z4r4}}</nowiki></tt>
: {{cata|object/xp15_4r4z4r4/b3s23|xp15_4r4z4r4}}
 
* <tt><nowiki>{{cata|object/xq3_mhqkzarahh0heezdhb5/b3s23|Dart}}</nowiki></tt>
: {{cata|object/xq3_mhqkzarahh0heezdhb5/b3s23|Dart}}
 
* <tt><nowiki>{{cata|census/b36s23|b36s23}}</nowiki></tt>
: {{cata|census/b36s23|b36s23}}
 
* <tt><nowiki>{{cata|census/b36s23|HighLife}}</nowiki></tt>
: {{cata|census/b36s23|HighLife}}
 
== See also ==
 
* [[Special:PrefixIndex/Template:LinkCatagolue]]
* [[Special:PrefixIndex/Template:CiteCatagolue]]
 
[[Category:Templates]]</noinclude>

Latest revision as of 22:49, 21 December 2022

This is a lightweight template to create links to Catagolue. By design, no additional formatting is applied to the link;

{{cata|path|text}}

should give the same link as

[https://catagolue.hatsya.com/path text]

There are two required unnamed parameters. First parameter is the URL suffix. Second parameter is the displayed link text.

Examples

  • {{cata|object/xp15_4r4z4r4/b3s23|xp15_4r4z4r4}}
xp15_4r4z4r4
  • {{cata|object/xq3_mhqkzarahh0heezdhb5/b3s23|Dart}}
Dart
  • {{cata|census/b36s23|b36s23}}
b36s23
  • {{cata|census/b36s23|HighLife}}
HighLife
  • {{cata|software|Software}}
Software
  • {{cata|home|Catagolue}}
Catagolue

See also