Template:MathGenealogy: Difference between revisions

From IndicWiki Sandbox
https://sandbox.indicwiki.org/index.php/>Zyxw
m Trim leading or trailing spaces in unnamed parameter 2. Add fix for empty "name" or "title" parameter. Display error message if template missing ID and not present in Wikidata. Tested first with /sandbox and /testcases.
 
https://sandbox.indicwiki.org/index.php/>Arjunaraocbot
m అంతర్వికీ లింకు వున్నది కావున
Line 1: Line 1:
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P549}}
[http://genealogy.math.ndsu.nodak.edu/id.php?id={{{1|{{{id}}}}}} {{{2|{{{title|{{{name|{{PAGENAME}}}}}}}}}}}] at the [[Mathematics Genealogy Project]]<noinclude>
 
{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
| [https://mathgenealogy.org/id.php?id={{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P549}}|sep=,}} }} {{#if: {{{2|{{{title|{{{name<includeonly>|</includeonly>}}}}}}}}} | {{{2|{{{title|{{{name}}}}}}}}} | {{PAGENAMEBASE}} }}] at the [[Mathematics Genealogy Project]]<includeonly>{{EditAtWikidata|pid=P549|{{{1|{{{id|}}}}}}}}</includeonly>
 
| <span class="error">&#123;&#123;[[Template:MathGenealogy|MathGenealogy]]&#125;&#125; template missing ID and not present in Wikidata.</span>
 
}}<noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Revision as of 14:20, 2 March 2022

MathGenealogy at the Mathematics Genealogy Project