Jump to content

Template talk:WBF

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Template talk:WBFpeople)

prehistory

[edit]
This solo discussion by Template author User:P64 is imported from Wikipedia talk:WikiProject Contract bridge#desirable Template with minor revisions to fit the context. --P64 (talk) 18:05, 7 October 2011 (UTC)[reply]

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.

{wbfplayer | id=325}
=> Zia Mahmood player record at the World Bridge Federation

I have used that expansion in References and in External links.

DONE {WBFpeople} 2011-10-06 19:07 UTC. See Template:WBFpeople.

As I write it is in use only at Rixi Markus#External links.

end import

User:P64/Sandbox 2011-10-06

[edit]

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.

DONE
The template works as planned.
Its documentation is second draft.
Here it is in Template space after Move from my User space. --P64 (talk) 18:37, 6 October 2011 (UTC)[reply]


Scope

[edit]
written while revision by User:Newwhist is in progress.

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?)

Examples whose point is to illustrate correct usage

Using the template with parameter id=1112 (for Giorgio Belladonna) in the article Bermuda Bowl:

{{WBFpeople |1112}}
{{WBFpeople |1112 |Giorgio BELLADONNA}}

displays

"International record for Bermuda Bowl". World Bridge Federation.
"International record for Giorgio BELLADONNA". World Bridge Federation.


Using the template with parameter id=559 (for Mike Lawrence) in the article Michael Lawrence (bridge):

{{WBFpeople |559}}
{{WBFpeople |559 |Michael LAWRENCE}}

displays

"International record for Michael Lawrence (bridge)". World Bridge Federation.
"International record for Michael LAWRENCE". World Bridge Federation.

P64 (talk) 16:41, 7 October 2011 (UTC)[reply]


New pathname

[edit]

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)[reply]

True but my choice may have been a poor one. It appears that simple replacement of ".asp" by ".aspx" would have preserved the execution exactly, delivering the people record within a WBF frame.
The latter delivers this crucial error message:
We have totally redone this site as of February 23, 2013 and so all the page names are different. Our apologies!
Please use the menu above to find what you are looking for. ...
If you have many pages linking to us try changing the .asp to .aspx, this will work for most tournament results and people. In some cases also remove the folders. If you need assistance with your links to us please contact our webmaster
--P64 (talk) 20:10, 14 June 2013 (UTC)[reply]

Revisions

[edit]

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.

  • "Nick NICKELL". [whatever]. World Bridge Federation. [perhaps followed by access data]
  • Nick NICKELL international record at the World Bridge Federation [perhaps followed by access data]

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)[reply]