Template:Napalivideo/doc: Difference between revisions
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
<code><nowiki>{{</nowiki>napalivideo | '' | <code><nowiki>{{</nowiki>napalivideo | ''id'' }}</code> | ||
<code><nowiki>{{</nowiki>napalivideo | | '' | <code><nowiki>{{</nowiki>napalivideo | | ''name'' }}</code> | ||
<code><nowiki>{{</nowiki>napalivideo | '' | <code><nowiki>{{</nowiki>napalivideo | ''id'' | ''name'' }}</code> | ||
=== | === ''id'' === | ||
'' | ''id'' is from the URL for a person's specific page on Napali Video's website. It is the text following <code>product_tag=</code>. For example, [[Danielle Derek]]'s page is at <code><nowiki>https://napalivideo.com/?product_tag=</nowiki>'''dannielle-derek'''</code>. To add a link to that page, add it as the first parameter: | ||
:<code><nowiki>{{</nowiki>napalivideo | dannielle-derek }}</code> | :<code><nowiki>{{</nowiki>napalivideo | dannielle-derek }}</code> | ||
=== | === ''name'' === | ||
'' | ''name'' is the name to be displayed in the link text. Add it as the second parameter: | ||
:<code><nowiki>{{</nowiki>napalivideo | dannielle-derek | Danielle Derek }}</code> | :<code><nowiki>{{</nowiki>napalivideo | dannielle-derek | Danielle Derek }}</code> | ||
| Line 24: | Line 24: | ||
=== Notes === | === Notes === | ||
If the template is used without an '' | If the template is used without an ''id'' value, one will be created by taking the article title, changing it to lowercase, and replacing any spaces with hyphens. | ||
If the template is used without a '' | If the template is used without a ''name'' value, the article title will be used. | ||
So in instances where Boobpedia and Napali Video use an identical performer name, like [[Danni Ashe]], simply adding <code><nowiki>{{napalivideo}}</nowiki></code> is sufficient. | So in instances where Boobpedia and Napali Video use an identical performer name, like [[Danni Ashe]], simply adding <code><nowiki>{{napalivideo}}</nowiki></code> is sufficient. | ||
Revision as of 04:56, 1 January 2023
This template is used to generate a link to a model's videos on the Napali Video website. It is intended for use in the "External links" section of articles, and should be preceded by an asterisk (*).
Usage
{{napalivideo | id }}
{{napalivideo | | name }}
{{napalivideo | id | name }}
id
id is from the URL for a person's specific page on Napali Video's website. It is the text following product_tag=. For example, Danielle Derek's page is at https://napalivideo.com/?product_tag=dannielle-derek. To add a link to that page, add it as the first parameter:
{{napalivideo | dannielle-derek }}
name
name is the name to be displayed in the link text. Add it as the second parameter:
{{napalivideo | dannielle-derek | Danielle Derek }}
Notes
If the template is used without an id value, one will be created by taking the article title, changing it to lowercase, and replacing any spaces with hyphens.
If the template is used without a name value, the article title will be used.
So in instances where Boobpedia and Napali Video use an identical performer name, like Danni Ashe, simply adding {{napalivideo}} is sufficient.