这个{{数学世界}}外部链接模板提供指向上页面的[URL编码]链接数学世界.
用法
- {{数学世界|用户名=页面索引|标题=页面标题|作者=姓氏,名字|authorlink(作者链接)=authorlink(作者链接)}}
哪里
- 作者默认为:Weisstein、Eric W。
- authorlink(作者链接)默认为:
或
- {{数学世界|用户名=页面索引|标题=页面标题}}
或
- {{数学世界|页面索引|页面标题}}
其中,假设第一个参数为用户名,假设第二个参数为标题,或
- {{数学世界|页面标题}}
哪里用户名由自动推断
- 删除所有空格,'和’(撇号),
- 更换^通过-,
- 更换*通过星星,
- 更换ä通过声发射、和
- 然后URL对其进行编码。(请注意,MathWorld使用“标题大小写“,而OEIS Wiki使用”句子大小写“!目前,可以推断用户名从标题,您必须使用“标题大小写"!)
示例
输入有效的示例
{{数学世界}}产量
- 埃里克·魏斯坦(Eric W.Weisstein)。,主页面,摘自MathWorld-A Wolfram Web资源。
{{数学世界|urlname=BenfordsLaw|title=Benford定律}}产量
- 埃里克·魏斯坦(Eric W.Weisstein)。,本福德定律,摘自MathWorld-A Wolfram Web资源。
{{数学世界|本福德定律|Benford定律}}产量
- 埃里克·魏斯坦(Eric W.Weisstein)。,本福德定律,摘自MathWorld-A Wolfram Web资源。
{{数学世界|本福德定律产量
- 埃里克·魏斯坦(Eric W.Weisstein)。,本福德定律,摘自MathWorld-A Wolfram Web资源。
{{数学世界|本福德定律产量
- 埃里克·魏斯坦(Eric W.Weisstein)。,本福德定律,摘自MathWorld-A Wolfram Web资源。
{{数学世界|Ramanujan Prime | author=Sondow,Jonathan |作者链接=http://mathworld.wolfram.com/topics/Sondow.html}}产量
- 乔纳森·索多,拉马努扬总理,来自MathWorld-A Wolfram Web资源,由创建埃里克·韦斯特因.
{{数学世界|title=Ramanujan Prime|author=Sondow,Jonathan}}产量
- 乔纳森·索多,拉马努扬总理,来自MathWorld-A Wolfram Web Resource,由创建埃里克·韦斯特因.
{{数学世界|Ramanujan Prime |作者=Sondow,Jonathan}}产量
- 乔纳森·索多,拉马努扬总理,来自MathWorld-A Wolfram Web Resource,由创建埃里克·韦斯特因.
{{数学世界|C^*-代数}}产量
- 埃里克·魏斯坦(Eric W.Weisstein)。,C^*-代数,摘自MathWorld-A Wolfram Web资源。
输入无效的示例
{{数学世界|本福德定律产量(用户名推断自标题使用“句子大小写“:链接不起作用!)
- 埃里克·魏斯坦(Eric W.Weisstein)。,本福德定律,摘自MathWorld-A Wolfram Web资源。
代码
<noinclude>{{documentation}}<!--从{{title|{{urlname|{{1|索引}}}},自动*删除所有空格和',*将^替换为-,*将*替换为Star,*用ae替换ä,*然后URL对其进行编码。--></noinclude><includeonly>[<---->{{#ifeq:{{author|Weisstein,Eric W.}}|Weisste,Eric W。| http://mathworld.wolfram.com/about/author.html|{{作者链接|http://mathworld.wolfram.com/topics/{{#分解:{{author|index}}|,|0}}.html}}}<!--http://mathworld.wolfram.com/topics/Lastname.html-->}}{{author|Weisstein,Eric W.}}],<---->[http://mathworld.wolfram.com/<!---->{{urlencode:{{#replace:{{#替换:{{#更换:{{#replace:{{#替换:<---->{{title|{{{urlname|{{1|索引}}}}{}}}<---->||}}|'|}}|^|-}}|*|Star}}|ä|ae}}|PATH}}.html<---->{{title|{{{2|{{urlname|{{1|Main Page}}}}{}}}],来自MathWorld-A Wolfram Web资源<---->{{#ifeq:{{author|Eric W.Weisstein}}|Eric W.Weissstein|.|,创建人[http://mathworld.wolfram.com/about/author.htmlEric W.Weisstein]。}} <!---->[http://mathworld.wolfram.com/<!---->{{urlencode:{{#replace:{{#替换:{{#更换:{{#replace:{{#替换:<---->{{title|{{{urlname|{{1|索引}}}}{}}}<---->||}}|'|}}|^|-}}|*|Star}}|ä|ae}}|PATH}}.html]</includeonly><noinclude><--{{Cite网站|url=http://mathworld.wolfram.com/{{urlencode:{{#replace:{{#替换:{{#更换:{{#replace:{{#替换:<---->{{title|{{{urlname|{{1|索引}}}}{}}}<---->||}}|'|}}|^|-}}|*|Star}}|ä|ae}}|PATH}}.html|author={{author|Eric W.Weisstein}}}|authorlink={{{authorlink|http://mathworld.wolfram.com/about/author.html}}}|title={{title|{{2|{{urlname|{{1|Main Page}}}}{}}}|publisher=MathWorld-A Wolfram Web资源}} --></noinclude>
另请参见