![]() | Contract bridge Template‑class | ||||||
|
![]() | Values from instances of this template have been copied to Wikidata, and transclusions in external links sections have had the migrated values removed. No changes to visible article text were made. If the template has a name parameter, that may also have been removed, making use of {{ PAGENAMEBASE}} instead. (6 October 2016) |
begin import
2011-08-31 23:13 UTC.[covering more than one desirable Template] The given code and given expansion are suggestions only. Details may vary depending on the whether primary use in References or in External links is expected. Perhaps alternative expansions, not given here, can be toggled with another parameter.
Link to player record at WBF.
I have used that expansion in References and in External links.
DONE {WBFpeople} 2011-10-06 19:07 UTC. See Template:WBFpeople.
end import
The code is derived from that for Template:Isfdb name, namely
[http://www.isfdb.org/cgi-bin/ea.cgi?{{{1|{{{id|{{PAGENAMEE}}}}}}}} {{{2|{{{name|{{PAGENAME}}}}}}}}] at the [[Internet Speculative Fiction Database]] <noinclude>{{documentation}}</noinclude>
By default its target is the player record for id=1, which is not assigned at WBF Bridge People, rather than id={{{PAGENAMEE}}}.
There is not yet any documentation so that instruction displays a redlink.
Documentation needs to cover use of the template in a page whose title differs from the person's name and such use must be illustrated. My draft used the page List of bridge people for (in?)convenience because I had chosen Rixi Markus for illustration; her biography is titled "Rixi Markus"; I don't know that her WBF international record is referenced elsewhere. I thought she might be useful to illustrate search for the record of Rixi Scharfstein, but it was time to proclaim a second draft and move into Template space, without doing that.
Ideally, one person provides illustration throughout. At the moment, Bermuda Bowl references the international records of Giorgio Belladonna and Karl Schneider only, and neither one has a biography with "inappropriate" title. (I have just now converted to the template in four articles Bermuda Bowl, Giorgio Belladonna, Michael Lawrence (bridge), Jack Zhao. Having read the list, you may not learn anything more by a visit, —except who is Jack Zhao?)
Using the template with parameter id=1112 (for Giorgio Belladonna) in the article Bermuda Bowl:
{{WBFpeople |1112}}
{{WBFpeople |1112 |Giorgio BELLADONNA}}
displays
Using the template with parameter id=559 (for Mike Lawrence) in the article
Michael Lawrence (bridge):
{{WBFpeople |559}}
{{WBFpeople |559 |Michael LAWRENCE}}
displays
P64 ( talk) 16:41, 7 October 2011 (UTC)
WBF has changed the pathname to its people database service. The ID is not changed so it appears that my simple revision of the template has restored adequate links. -- P64 ( talk) 22:55, 13 June 2013 (UTC)
Last year Newwhist added another parameter, accessdate, and implemented that by adding a dot following "World Bridge Federation". That is a final dot when the parameter is not used; otherwise it is a separator and the whole display ends with no punctuation, as usual or WP:External links.
To me this raises the possibility that the one template might use (more advanced?) conditional language generate either a version for use in formal references or one for use in external links.
Maybe we should do that directly with two templates.
Momentarily in my user space, see User:P64/Bridge/Steve Weinstein#References and External links, where the surprising "double dot" references sent me back here. -- P64 ( talk) 23:22, 13 June 2013 (UTC)