Difference between revisions of "Template:LinkCatagolue"

From LifeWiki
Jump to navigation Jump to search
(Added pseudo-object format option (technically only changed the documentation))
m (format=linear growth)
Line 4: Line 4:
* ''rule'', which specifies the [[rulestring]] to use (default b3s23);
* ''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 for style=listitem; "here" for style=brief; code for style=raw);
* ''patternname'', which specifies the name of the pattern as it will appear in the link text (default: name of the current article for style=listitem; "here" for style=brief; code for style=raw);
* ''format'', which specifies the code's format (format=extended, format=pseudo-object, or leave out for regular apgcodes).
* ''format'', which specifies the code's format (format=extended, format=pseudo-object, format=linear growth, or leave out for regular apgcodes).
* ''style'', which specifies how to format the link (style=listitem, style=brief or style=raw; default: listitem)
* ''style'', which specifies how to format the link (style=listitem, style=brief or style=raw; default: listitem)



Revision as of 23:04, 13 June 2019

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 for style=listitem; "here" for style=brief; code for style=raw);
  • format, which specifies the code's format (format=extended, format=pseudo-object, format=linear growth, or leave out for regular apgcodes).
  • style, which specifies how to format the link (style=listitem, style=brief or style=raw; default: listitem)

Here is a simple example of its usage:

You type:

{{LinkCatagolue|code=xs4_33|patternname=Block}}

You see:

You type:

{{LinkCatagolue|code=xs4_33|style=brief}}

You see:

Catagolue: here

You type:

{{LinkCatagolue|code=xs4_33|style=raw}}

You see:

xs4_33

See also

External link templates