Difference between revisions of "Template:DNA India/doc"
Jump to navigation
Jump to search
imported>Mr. Smart LION (←Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This is a template to generate a link to th...') |
imported>Plastikspork (Deleted) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- PLEASE ADD CATEGORIES | + | <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> |
| − | + | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a news page for a person at the [[DNA India]] website. It is intended for use in the [[Wikipedia:External links|external links]] section of an article. | |
| − | === | + | == Usage == |
| − | < | + | Unnamed parameters: |
| − | + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | <var>ID</var> }}</code> | |
| − | </ | + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> }}</code> |
| − | + | Named parameters | |
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= <var>ID</var> }}</code> | ||
| + | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= <var>ID</var> | name= <var>NAME</var> }}</code> | ||
| − | === | + | == Examples == |
| − | |||
| − | < | + | === Unnamed parameters === |
| − | * {{ | + | ''Usage:'' |
| − | </ | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | akshay-kumar | Akshay Kumar }}</code> |
| − | + | ''Output:'' | |
| − | + | :* {{{{BASEPAGENAME}} | akshay-kumar | Akshay Kumar }} | |
| − | :{{ | ||
| − | + | ''URL:'' | |
| − | + | : <kbd>[https://www.dnaindia.com/topic/akshay-kumar https://www.dnaindia.com/topic/{{Hilite|akshay-kumar}}]</kbd> | |
| − | < | + | === Named parameters === |
| − | * {{ | + | ''Usage:'' |
| − | </ | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= sugandha-garg | name= Sugandha Garg }}</code> |
| − | + | ''Output:'' | |
| − | + | :* {{{{BASEPAGENAME}} | id= sugandha-garg | name= Sugandha Garg }} | |
| − | :{{ | ||
| − | <includeonly> | + | ''URL:'' |
| − | <!-- CATEGORIES | + | : <kbd>[https://www.dnaindia.com/topic/sugandha-garg https://www.dnaindia.com/topic/{{Hilite|sugandha-garg}}]</kbd> |
| − | </includeonly> | + | |
| + | === No ID in template === | ||
| + | ''Usage:'' | ||
| + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{ {{BASEPAGENAME}} }} | ||
| + | |||
| + | == See also == | ||
| + | * {{tl|Bollywood Hungama person}} | ||
| + | |||
| + | <includeonly>{{Sandbox other|| | ||
| + | <!-- CATEGORIES HERE, THANKS --> | ||
| + | [[Category:Film external link templates]] | ||
| + | [[Category:People and person external link templates]] | ||
| + | }}</includeonly> | ||
Latest revision as of 13:14, 10 September 2020
| This is a documentation subpage for Template:DNA India. It contains usage information, categories and other content that is not part of the original template page. |
Template:DNA India displays an external link to a news page for a person at the DNA India website. It is intended for use in the external links section of an article.
Contents
Usage
Unnamed parameters:
{{DNA India | ID }}{{DNA India | ID | NAME }}
Named parameters
{{DNA India | id= ID }}{{DNA India | id= ID | name= NAME }}
Examples
Unnamed parameters
Usage:
* {{DNA India | akshay-kumar | Akshay Kumar }}
Output:
URL:
Named parameters
Usage:
* {{DNA India | id= sugandha-garg | name= Sugandha Garg }}
Output:
URL:
No ID in template
Usage:
* {{DNA India}}
Output:
- {{DNA India}} template missing ID.
See also