Difference between revisions of "Template:Kickstarter/doc"
imported>Totie (←Created page with '{{Documentation subpage}} This template generates an external link to a funding project at Kickstarter. ==Usage== <code><nowik...') |
imported>Vanisaac m (→Template data: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 4: | Line 4: | ||
==Usage== | ==Usage== | ||
| − | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|''project page''|'' | + | One parameter: |
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|''project page''}}</code> | ||
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|project=''project page''}}</code> | ||
| + | |||
| + | Two parameters: | ||
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|''project page''|''name''}}</code> | ||
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|project=''project page''|name=''name''}}</code> | ||
==Examples== | ==Examples== | ||
| Line 11: | Line 17: | ||
The parameter will be the project-page string used in the [[URL]] at Kickstarter. | The parameter will be the project-page string used in the [[URL]] at Kickstarter. | ||
| − | + | '''URL''': <code><nowiki>https://</nowiki>www.kickstarter.com/projects/{{hilite|technicalillusions/castar-the-most-versatile-ar-and-vr-system}}</code> | |
| − | + | ||
| − | + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system}}</code> | |
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|project=technicalillusions/castar-the-most-versatile-ar-and-vr-system}}</code> | ||
| − | Since "{{BASEPAGENAME}}" is the name of the Wikipedia page you now are looking at, the link above shows "{{BASEPAGENAME}} at Kickstarter" for the Wikipedia page. The lead name will change according to the name of the Wikipedia page used on. | + | '''Result''': {{{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system}} |
| + | |||
| + | Note: Since "{{BASEPAGENAME}}" is the name of the Wikipedia page you now are looking at, the link above shows "{{BASEPAGENAME}} at Kickstarter" for the Wikipedia page. The lead name will change according to the name of the Wikipedia page used on. | ||
===Two parameters=== | ===Two parameters=== | ||
The first parameter will be the project-page string used in the [[URL]] at Kickstarter. The second parameter will be used as the [[link text]]. | The first parameter will be the project-page string used in the [[URL]] at Kickstarter. The second parameter will be used as the [[link text]]. | ||
| − | + | '''URL''': <code><nowiki>https://</nowiki>www.kickstarter.com/projects/{{hilite|technicalillusions/castar-the-most-versatile-ar-and-vr-system}}</code> | |
| − | + | ||
| − | :{{{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system|castAR}} | + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system|castAR}}</code> |
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|project=technicalillusions/castar-the-most-versatile-ar-and-vr-system|name=castAR}}</code> | ||
| + | |||
| + | '''Result''': {{{{BASEPAGENAME}}|technicalillusions/castar-the-most-versatile-ar-and-vr-system|castAR}} | ||
== Template data == | == Template data == | ||
| Line 51: | Line 65: | ||
</templatedata> | </templatedata> | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!--Categories below this line, please; interwikis at Wikidata--> | <!--Categories below this line, please; interwikis at Wikidata--> | ||
[[Category:External link templates]] | [[Category:External link templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 23:17, 25 April 2020
| This is a documentation subpage for Template:Kickstarter. It contains usage information, categories and other content that is not part of the original template page. |
This template generates an external link to a funding project at Kickstarter.
Usage
One parameter:
{{Kickstarter|project page}}{{Kickstarter|project=project page}}
Two parameters:
{{Kickstarter|project page|name}}{{Kickstarter|project=project page|name=name}}
Examples
One parameter
The parameter will be the project-page string used in the URL at Kickstarter.
URL: https://www.kickstarter.com/projects/technicalillusions/castar-the-most-versatile-ar-and-vr-system
{{Kickstarter|technicalillusions/castar-the-most-versatile-ar-and-vr-system}}
{{Kickstarter|project=technicalillusions/castar-the-most-versatile-ar-and-vr-system}}
Result: Template:PAGENAMEBASE at Kickstarter
Note: Since "Kickstarter" is the name of the Wikipedia page you now are looking at, the link above shows "Kickstarter at Kickstarter" for the Wikipedia page. The lead name will change according to the name of the Wikipedia page used on.
Two parameters
The first parameter will be the project-page string used in the URL at Kickstarter. The second parameter will be used as the link text.
URL: https://www.kickstarter.com/projects/technicalillusions/castar-the-most-versatile-ar-and-vr-system
{{Kickstarter|technicalillusions/castar-the-most-versatile-ar-and-vr-system|castAR}}
{{Kickstarter|project=technicalillusions/castar-the-most-versatile-ar-and-vr-system|name=castAR}}
Result: castAR at Kickstarter
Template data
TemplateData for Kickstarter
This template generates an external link to a project page at Kickstarter.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Project page | project 1 | The "project" parameter (or unnamed parameter "1") should contain the project-page portion the URL for the Kickstarter page.
| String | required |
| Name | name 2 | The "name" parameter (or unnamed parameter "2") may be used to specify the link text. This parameter is optional; it defaults to the Wikipedia article name, without disambiguation.
| String | optional |