Difference between revisions of "Template:LinkCatagolue"

From LifeWiki
Jump to navigation Jump to search
m (link Catagolue)
(Add format= parameter)
Line 1: Line 1:
<includeonly>* [https://catagolue.appspot.com/object/{{{code|{{{1}}}}}}/{{{rule|b3s23}}} {{{patternname|{{PAGENAME}}}}}] {{#if:{{{rule|}}}|(rule [https://catagolue.appspot.com/census/{{{rule}}}/ {{{rule}}}])}} at Adam P. Goucher's [[Catagolue]]</includeonly><noinclude>This is a template for including links to '''[https://catagolue.appspot.com/home Adam P. Goucher's Catagolue]''' in the "External Links" section of an article. It can take three parameters: ''code'', which specifies the [[extended Wechsler code]] of the object linked to; ''rule'', which specifies the [[rulestring]] to use (default b3s23); and ''patternname'', which specifies the name of the pattern as it will appear in the link text. If ''patternname'' is omitted, the name of the current article will be used by default.
+
<includeonly>* [https://catagolue.appspot.com/object/{{{code|{{{1}}}}}}/{{{rule|b3s23}}} {{{patternname|{{PAGENAME}}}}}] {{#if:{{{rule|}}} | (rule [https://catagolue.appspot.com/census/{{{rule}}}/ {{{rule}}}]) }} at Adam P. Goucher's [[Catagolue]] {{#if: {{{format|}}} | ({{{format|}}}) }}</includeonly><noinclude>This is a template for including links to '''[https://catagolue.appspot.com/home Adam P. Goucher's Catagolue]''' in the "External Links" section of an article. It can take four parameters:
 +
 
 +
* ''code'' (mandatory), which specifies the [[extended Wechsler code]] of the object linked to;
 +
* ''rule'', which specifies the [[rulestring]] to use (default b3s23);
 +
* ''patternname'', which specifies the name of the pattern as it will appear in the link text (default: name of the current article);
 +
* ''format'', which specifies the code's format (format=extended, or leave blank for regular apgcodes).
  
 
Here is a simple example of its usage:
 
Here is a simple example of its usage:

Revision as of 10:55, 10 October 2016

This is a template for including links to Adam P. Goucher's Catagolue in the "External Links" section of an article. It can take four parameters:

  • code (mandatory), which specifies the extended Wechsler code of the object linked to;
  • rule, which specifies the rulestring to use (default b3s23);
  • patternname, which specifies the name of the pattern as it will appear in the link text (default: name of the current article);
  • format, which specifies the code's format (format=extended, or leave blank for regular apgcodes).

Here is a simple example of its usage:

You type:

{{LinkCatagolue|xs4_33|patternname=Block}}

You see:

See also

External link templates