Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Description  





2 Usage  





3 Detailed instructions  














Template:Danskefilm






Dansk
Deutsch
فارسی

Norsk bokmål
Srpskohrvatski / српскохрватски
Svenska
 

Edit links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


(Please set the correct parameter for TYPE e.g.: TYPE=f for a film, or TYPE=p for a person or a company. For detailed instructions look here!) in the film database danskefilm.dk (in Danish)

{{Danskefilm}} is a template used to generate an external link to an entry for a work (film/movie, TV or Web program/series, video game, etc.) or a person (or company) in the film database at danskefilm.dk. In an article it should only be used in the "External links" section.

Usage[edit]

The two required parameters are the TYPE= and the ID number. The template then uses the article title as the anchor text:

* {{Danskefilm|TYPE=|ID}}
TYPE=a for an animation, or
TYPE=f for a film, or
TYPE=p for a person or a company, or
TYPE=s for a silent movie, or
TYPE=t for a tv-series, and
the numerical value in front of ".html", or
the numerical value behind "php?id=".

To have the link text be other than the article name, use the third parameter:

* {{Danskefilm|TYPE=|ID|Name}}

This is necessary when adding a danskefilm.dk link to an article about somebody or something other than the linked work, or if the article contains a disambiguation such as "(YEAR film)".

Detailed instructions[edit]

  1. Copy and paste one of the options above into the article's External links section.
  2. Set the TYPE= to either TYPE=f (film etc.) or TYPE=p (person or company).
  3. Get the correct ID from the referral URL. Danskefilm.dk is framed, so two methods could be suggested:
A: These instructions apply in Firefox (v35) but are presumed to be essentially similar in other browsers: If you are already on the correct page and the address in your browser reads http://www.danskefilm.dk/index2.html, right-click in the frame, and choose View Page Info. From the Referring URL field you will have the ID either in front of ".html", or behind "php?id="
B: Do a Google search. If e.g. looking for the ID for Lars von Trier do a search like this: Search danskefilm.dk for Lars von Trier. From the URL displayed on Google you will have the ID either in front of ".html", or behind "php?id=" (here, "3258").
  1. Copy only the number (here, "3258")
  2. Replace "ID" in the template code with the number
For the first option above, you'll then have
* {{Danskefilm|TYPE=p|3258}} resulting in:
  • Danskefilm in the film database danskefilm.dk (in Danish)
Note that the link text is the same as the title of the page the template is used on; outside the page Lars von Trier, use the second option:
Replace "ID" with the number and "Name" with "Lars von Trier"
* {{Danskefilm|TYPE=p|3258|Lars von Trier}} results in:

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Danskefilm&oldid=1028009444"

Categories: 
Film external link templates
Television external link templates
 



This page was last edited on 11 June 2021, at 09:22 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki