Difference between revisions of "Template:LinkCatagolue"
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) (Add tracking category) |
Apple Bottom (talk | contribs) (Add style= parameter (style=listitem or style=brief).) |
||
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]] {{#if: {{{format|}}} | ({{{format|}}}) }} [[Category:Pages that link to 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 four parameters: | <includeonly>{{#ifeq: {{{style|listitem}}} | listitem |* [https://catagolue.appspot.com/object/{{{code|{{{1}}}}}}/{{{rule|{{{2|b3s23}}}}}} {{{patternname|{{PAGENAME}}}}}] {{#if:{{{rule|}}} | (rule [https://catagolue.appspot.com/census/{{{rule}}}/ {{{rule}}}]) }} at Adam P. Goucher's [[Catagolue]] {{#if: {{{format|}}} | ({{{format|}}}) }} | {{#ifeq: {{{style|listitem}}} | brief | '''[[Catagolue]]''': [https://catagolue.appspot.com/object/{{{code|{{{1}}}}}}/{{{rule|{{{2|b3s23}}}}}}/ here] }} }}[[Category:Pages that link to 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 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); | * ''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 | * ''format'', which specifies the code's format (format=extended, or leave out for regular apgcodes). | ||
* ''style''', which specifies how to format the link (style=listitem or style=brief; default: listitem) | |||
Here is a simple example of its usage: | Here is a simple example of its usage: | ||
Line 10: | Line 11: | ||
'''You type:''' | '''You type:''' | ||
<tt><nowiki>{{LinkCatagolue|xs4_33|patternname=Block}}</nowiki></tt> | <tt><nowiki>{{LinkCatagolue|code=xs4_33|patternname=Block}}</nowiki></tt> | ||
'''You see:''' | '''You see:''' |
Revision as of 10:55, 24 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 out for regular apgcodes).
- style', which specifies how to format the link (style=listitem or style=brief; default: listitem)
Here is a simple example of its usage:
You type:
{{LinkCatagolue|code=xs4_33|patternname=Block}}
You see:
See also
- 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:LinkYouTube
- Template:MathGenealogy
- Template:OEIS