الگو:Douban

از ویکی‌پدیا، دانشنامهٔ آزاد

Douban در Douban (چینی)

توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

استفاده[ویرایش]

Go to Douban.com (Douban), search and find the page of the work that you are looking for, check out its URL.

1. If it is a movie, then the URL should be like https://movie.douban.com/subject/[ID]/. In a Wikipedia article you may insert the code below

{{Douban|[ID]}}

For example:

  • {{Douban|1292052}} yields: "Douban در Douban (چینی)" (the current Wikipedia article's title will be used as the link's shown text)

Or

{{Douban|[ID]|[Link text]}}

For example:


2. If it is a book or a music, then the URL should be like https://book.douban.com/subject/[ID]/(or music in place of book). In a Wikipedia article you may insert the code below

{{Douban|[ID]|[Link text]|[Type]}},

[Type] could be "book" or "music"
[Link text] could be omitted, if so, the current Wikipedia article's title will be used
For example:

  • {{Douban|1829226|EXAMPLE TEXT|book}} yields: "EXAMPLE TEXT در Douban (چینی)"
  • {{Douban|1829226||book}} yields: "Douban در Douban (چینی)" (the current Wikipedia article's title will be used as the link's shown text)


3. If it is a page of other type, see below