الگو:Hancinema film
ظاهر
This template is used to generate an external link to a web page for a film in the HanCinema. It should only be used in the "external links" section of an article.
- For TV series, use الگو:HanCinema drama.
- For actors, directors, or screenwriters, use الگو:Hancinema person.
Usage
[ویرایش]No parameters
[ویرایش]{{Hancinema film}}
and the template will pull the ID from ویکیداده (if present there) and extract the link text from the page title, minus an parenthetical disambiguation.
With parameters
[ویرایش]- The template then uses the article title as the انکر تکست (متن لینک):
* {{HanCinema film | ID }} * {{HanCinema film | id= ID }}
- To have the link text be other than the article title, use second parameter:
* {{HanCinema film | ID | Title }} * {{HanCinema film | id= ID | title= Title }}
Detailed instructions
[ویرایش]- Copy and paste one of the options above into the article
- Go to Hancinema.net and search for the film you want (say, پسر گرگنما)
- Click on the correct A Werewolf Boy in the list; this will bring up the page:
- Copy only the title (here, "
A_Werewolf_Boy
"), omitting the other text - Replace "
ID
" in the template code with the number- For the first option above, you'll then have
* {{HanCinema film|A_Werewolf_Boy}}
resulting in:
- For the first option above, you'll then have
TemplateData
[ویرایش]این، توضیحاتِ الگوداده است که توسط TemplateWizard، ویرایشگر دیداری و دیگر ابزارها استفاده میشود. گزارش خطای ماهیانه برای این الگو را ببینید.
الگوداده Hancinema film
This template is used to generate an external link to a web page for a film in the HanCinema Database.
پارامتر | توضیحات | نوع | وضعیت | |
---|---|---|---|---|
ID | id 1 | The HanCinema film ID for the target page. | شماره | اختیاری |
Title | title 2 | Title that you want to have displayed. Defaults to article title. | رشته | اختیاری |