(Go: >> BACK << -|- >> HOME <<)

Template:MBG/doc: Difference between revisions

Content deleted Content added
 
(6 intermediate revisions by the same user not shown)
Line 8:
==={{int:Parameters}}===
 
There are three required, unnamed, parameters, for the date Tropicos was accessed, and a fourth optional, unnamed, parameter for displaying a different value to the page name.
 
# year
# month
# day
# display name
 
*A further, named parameter, {{para|id}}, is optional; if it is not given the value of the ID ''on Tropicos'' will be pulled from the corresponding [[:Wikisource:Wikidata|Wikidata]] item.
 
==={{int:Syntax}}===
Line 20 ⟶ 21:
: <code><nowiki>{{MBG|year|month|day}}</nowiki></code>
: <code><nowiki>{{MBG|year|month|day|id=}}</nowiki></code>
 
==={{int:Examples}}===
 
* <code><nowiki>{{MBG|2017|Nov.|26}}</nowiki></code>
* <code><nowiki>{{MBG|2017|Nov.|26|Foobar}}</nowiki></code>
* <code><nowiki>{{MBG|2017|Nov.|26|id=2701607}}</nowiki></code>
* <code><nowiki>{{MBG|2017|Nov.|26|Foobar|id=2701607}}</nowiki></code>
 
These will render thus:
 
:{{MBG|2017|Nov.|26|Foobar|id=2701607}}
 
=={{int:See also}}==