Difference between revisions of "Template:LinkCatagolue"
Jump to navigation
Jump to search
m (format=linear growth) |
(moved to hatsya.com per https://gitlab.com/apgoucher/catagolue/-/commit/af43ef6ebec27a311e3389c962c46089a0c84c96) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{{style|listitem}}} | listitem |* [https://catagolue. | <includeonly>{{#ifeq: {{{style|listitem}}} | listitem |* [https://catagolue.hatsya.com/object/{{{code|{{{1|}}}}}}/{{{rule|{{{2|b3s23}}}}}} {{{patternname|{{PAGENAME}}}}}] {{#if:{{{rule|}}} | (rule [https://catagolue.hatsya.com/census/{{{rule}}}/ {{{rule}}}]) }} at [[Adam P. Goucher]]'s [[Catagolue]] {{#if: {{{format|}}} | ({{{format|}}}) }} | {{#ifeq: {{{style|listitem}}} | brief | '''[[Catagolue]]''': [https://catagolue.hatsya.com/object/{{{code|{{{1}}}}}}/{{{rule|{{{2|b3s23}}}}}}/ {{{patternname|here}}}] | {{#ifeq: {{{style|raw}}} | raw | [https://catagolue.hatsya.com/object/{{{code|{{{1}}}}}}/{{{rule|{{{2|b3s23}}}}}}/ {{{patternname|{{{code|{{{1|}}}}}}}}}] }} }} }}[[Category:Pages that link to Adam P. Goucher's Catagolue]]{{#if: {{{code|{{{1|}}}}}} | | [[Category:Pages using the LinkCatagolue template without a code]] }}{{#if: {{{format|}}} | [[Category:Pages using {{{format|}}} apgcodes]] }}</includeonly><noinclude>This is a template for including links to '''[https://catagolue.hatsya.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; | * ''code'' (mandatory), which specifies the [[extended Wechsler code]] of the object linked to; | ||
* ''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, format=linear growth, or leave out for regular apgcodes). | * ''format'', which specifies the code's format (format=extended, format=pseudo-object, format=linear growth, format=long-lived pattern, 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) | ||
Line 15: | Line 15: | ||
'''You see:''' | '''You see:''' | ||
* [https://catagolue. | * [https://catagolue.hatsya.com/object/xs4_33/b3s23 Block] at [[Adam P. Goucher]]'s [[Catagolue]] | ||
'''You type:''' | '''You type:''' | ||
Line 23: | Line 23: | ||
'''You see:''' | '''You see:''' | ||
'''[[Catagolue]]''': [https://catagolue. | '''[[Catagolue]]''': [https://catagolue.hatsya.com/object/xs4_33/b3s23/ here] | ||
'''You type:''' | '''You type:''' | ||
Line 31: | Line 31: | ||
'''You see:''' | '''You see:''' | ||
[https://catagolue. | [https://catagolue.hatsya.com/object/xs4_33/b3s23/ xs4_33] | ||
==See also== | ==See also== |
Revision as of 21:43, 28 September 2020
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, format=long-lived pattern, 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:
You type:
{{LinkCatagolue|code=xs4_33|style=raw}}
You see:
See also
- List of pages using the LinkCatagolue template without a code
- Pages that link to external sites (category)
External link templates
- Template:Cata
- Template:LinkCallahan
- Template:LinkCatagolue
- Template:LinkCatagolueRule
- Template:LinkEppstein
- Template:LinkEppsteinRule
- Template:LinkForumThread
- Template:LinkGoLDictionary
- Template:LinkGoLNews
- Template:LinkGollyHelp
- Template:LinkLexicon
- Template:LinkMathworld
- Template:LinkMirek
- Template:LinkNiemiec
- Template:LinkPentadecathlonObject
- Template:LinkWikipedia
- Template:MathGenealogy
- Template:OEIS