Difference between revisions of "Template:IMO results"

From blackwiki
Jump to navigation Jump to search
imported>Bender235
(categories don't exist at this point)
imported>Trappist the monk
m (→‎top: support hyphenated parameter names)
 
Line 1: Line 1:
 
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{{grid|}}} {{#property:P5819}}
 
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{{grid|}}} {{#property:P5819}}
 
|{{#if:{{{author|}}}{{{last|}}}{{{date|}}}{{{accessdate|}}}
 
|{{#if:{{{author|}}}{{{last|}}}{{{date|}}}{{{accessdate|}}}
  |{{cite web|url=https://www.imo-official.org/participant_r.aspx?id={{Trim|{{{1|{{{grid|{{{id|{{#property:P5819}}}}}}}}}}}}} |title={{{2|{{{title|{{PAGENAMEBASE}}}}}}}}'s results |publisher=[[International Mathematical Olympiad]] |work={{{work|}}} |last={{{last|{{{author|}}}}}} |first={{{first|}}} |date={{{date|}}} |accessdate={{{accessdate|}}} |display-authors={{{display-authors|}}}}}
+
  |{{cite web|url=https://www.imo-official.org/participant_r.aspx?id={{Trim|{{{1|{{{grid|{{{id|{{#property:P5819}}}}}}}}}}}}} |title={{{2|{{{title|{{PAGENAMEBASE}}}}}}}}'s results |publisher=[[International Mathematical Olympiad]] |work={{{work|}}} |last={{{last|{{{author|}}}}}} |first={{{first|}}} |date={{{date|}}} |access-date={{{access-date|{{{accessdate|}}}}}} |display-authors={{{display-authors|}}}}}
 
  |[https://www.imo-official.org/participant_r.aspx?id={{Trim|{{{1|{{{grid|{{{id<includeonly>|{{#property:P5819}}</includeonly>}}}}}}}}}}} {{{2|{{{title<includeonly>|{{PAGENAMEBASE}}</includeonly>}}}}}}'s results]{{#if:{{{work|}}}|, {{{work}}}}} at [[International Mathematical Olympiad]]
 
  |[https://www.imo-official.org/participant_r.aspx?id={{Trim|{{{1|{{{grid|{{{id<includeonly>|{{#property:P5819}}</includeonly>}}}}}}}}}}} {{{2|{{{title<includeonly>|{{PAGENAMEBASE}}</includeonly>}}}}}}'s results]{{#if:{{{work|}}}|, {{{work}}}}} at [[International Mathematical Olympiad]]
 
  }}<includeonly>{{EditAtWikidata|pid=P5819| {{{1|{{{grid|{{{id|}}}}}}}}} }}</includeonly>
 
  }}<includeonly>{{EditAtWikidata|pid=P5819| {{{1|{{{grid|{{{id|}}}}}}}}} }}</includeonly>

Latest revision as of 18:21, 29 January 2021

{{{title}}}'s results at International Mathematical Olympiad

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Usage

{{IMO results|id=1581}}

Produces: Template:PAGENAMEBASE's results at International Mathematical OlympiadScript error: No such module "EditAtWikidata".

{{IMO results|id=1581|title=Terence Tao}}

Produces: Terence Tao's results at International Mathematical OlympiadScript error: No such module "EditAtWikidata".

If the 'title' parameter is not supplied, the name shown for the person will be that of the Wikipedia page where the template is included.

Tracking categories

template with ID
template missing ID