Template:Playbill/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "'''{{tlx|playbill}}''' is, plain and simple, a similar template to {{tlx|imdb name}}, but which links to profiles on the official {{w|Playbill}} website. == Usage == As with ...")
Tag: sourceedit
 
(Added Template documentation category)
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
As with {{tlc|imdb name}}, usage could not be simpler.
As with {{tlc|imdb name}}, usage could not be simpler.


Just cut and paste the following<ref>This assumes there is no external link section already on the page.  If there is, just cut and paste only the ''second line'' of this example.</ref> onto pages:<pre>== External link ==
Just cut and paste the following<ref>This assumes there is no external link section already on the page.  If there is, just cut and paste only the ''second line'' of this example.</ref> onto pages:<pre>== External links ==
{{playbill|id=}}</pre>
{{playbill|id=}}</pre>
{{reflist}}
{{reflist}}
Even simply <code><nowiki>{{playbill|}}</nowiki></code> will work.
Then, insert the name and number which follow <code>/person/</code> in the URL, after <code>id=</code> but ''before'' <code>}}</code>, and you're done!
Then, insert the name and number which follow <code>/person/</code> in the URL, after <code>id=</code> but ''before'' <code>}}</code>, and you're done!


This ID should resemble <code>david-suchet-vault-0000057450</code>—that is, the name of the actor or member of the crew, with dashes, followed by a purely numerical string. Copy this part of the URl, and you're good to go.
This ID should resemble <code>david-suchet-vault-0000057450</code>—that is, the name of the actor or member of the crew, with dashes, followed by <code>-vault-</code> and a purely numerical string. Copy this part of the URL, and you're good to go.


== Example ==
== Examples ==
{{playbill|id=david-suchet-vault-0000057450|name=David Suchet}}
{{playbill|id=david-suchet-vault-0000057450|name=David Suchet}}
 
{{playbill|michael-sheen-vault-0000094116|name=Michael Sheen}}
== ID required ==
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>
This template requires that you fill in the id variable.  If you don't, it will squawk at you and put the page into a special category.
<pre>
{{playbill|name=David Suchet}}
</pre>
{{playbill|name=David Suchet}}

Latest revision as of 23:47, 24 April 2024

{{playbill}} is, plain and simple, a similar template to {{imdb name}}, but which links to profiles on the official Playbill website.

Usage[[edit]]

As with {{imdb name}}, usage could not be simpler.

Just cut and paste the following[1] onto pages:

== External links ==
{{playbill|id=}}
  1. This assumes there is no external link section already on the page. If there is, just cut and paste only the second line of this example.

Even simply {{playbill|}} will work.

Then, insert the name and number which follow /person/ in the URL, after id= but before }}, and you're done!

This ID should resemble david-suchet-vault-0000057450—that is, the name of the actor or member of the crew, with dashes, followed by -vault- and a purely numerical string. Copy this part of the URL, and you're good to go.

Examples[[edit]]