Пређи на садржај

Шаблон:Rotten Tomatoes person-lat

Iz Vojne Enciklopedije

safesubst:#if:1|{{{id}}}}}}} Rotten Tomatoes person-lat на сајту Rotten Tomatoes {{#ifeq:|el|(jezik: engleski){{#if:true

|}}|(jezik: engleski){{#if:true
|}}}}
Документација шаблона[прикажи] [уреди] [историја] [освежи]

{{#ifeq:rotten tomatoes person-lat |dok

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:Шаблон:Rotten Tomatoes person-lat
                  | [[Kategorija:Документација {{#switch:Шаблон |Шаблон=шаблона |Модул=модула |Корисник=корисничких страница |#default=Википедије}}]]
                  | 
                 }}
        }}
    | 
   }}{{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Шаблон|Шаблон 
   | template 
   | other 
   }}
 }}

| template | шаблон

| šablon =

| other | #default =

}}{{#switch:Rotten Tomatoes person-lat

|sandbox |testcases |doc= |#default=

}}{{#switch:Rotten Tomatoes person-lat
 |sandbox |testcases |doc= 
 |#default = {{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Шаблон|Шаблон 
   | template 
   | other 
   }}
 }}

| template | шаблон | šablon =

| other | #default = {{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Шаблон|Модул
   | module
   | other
   }}
 }}

| module =

| other | #default = {{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Шаблон|Категорија
   | category
   | other
   }}
 }}

| category =

| other | #default =

}}

}}

}}

 }}

This template generates an external link to a page for a person at the Rotten Tomatoes website.

Note: The Rotten Tomatoes website doesn't have a numerical "ID" in way that IMDb does. In this case, the "ID" the instructions below refers to: the person's name (as listed on Rotten Tomatoes), in lower case, separated by an underscore.

Usage

One parameter:

{{Rotten Tomatoes person-lat | ID }}
{{Rotten Tomatoes person-lat | id= ID }}

Two parameters:

{{Rotten Tomatoes person-lat | ID | NAME }}
{{Rotten Tomatoes person-lat | id= ID | name= NAME }}

Examples

https://www.rottentomatoes.com/celebrity/{{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|clint_eastwood|clint_eastwood}}|clint_eastwood}}

One parameter:

  1. {{Rotten Tomatoes person-lat | clint_eastwood }}
    safesubst:#if:1| clint_eastwood }}}} Clint Eastwood на сајту Rotten Tomatoes {{#ifeq:|el|(jezik: engleski){{#if:true
|}}|(jezik: engleski){{#if:true
|}}}}
  1. {{Rotten Tomatoes person-lat | id= clint_eastwood }}
    safesubst:#if:1|clint_eastwood}}}} Clint Eastwood на сајту Rotten Tomatoes {{#ifeq:|el|(jezik: engleski){{#if:true
|}}|(jezik: engleski){{#if:true
|}}}}

Two parameters:

  1. {{Rotten Tomatoes person-lat | clint_eastwood | Clint Eastwood }}
    safesubst:#if:1| clint_eastwood }}}} Clint Eastwood на сајту Rotten Tomatoes {{#ifeq:|el|(jezik: engleski){{#if:true
|}}|(jezik: engleski){{#if:true
|}}}}
  1. {{Rotten Tomatoes person-lat | id= clint_eastwood | name= Clint Eastwood }}
    safesubst:#if:1|clint_eastwood}}}} Clint Eastwood на сајту Rotten Tomatoes {{#ifeq:|el|(jezik: engleski){{#if:true
|}}|(jezik: engleski){{#if:true
|}}}}

Template data

{{#if:|погледајте месечни извештај о грешкама за овај шаблон.|Ovo je {{#if:|TemplateData|TemplateData}} dokumentacija za ovaj šablon, korišćena u Vizuelnom uređivaču i u drugim alatkama; pogledajte mesečni izveštaj o greškama za ovaj šablon.}}

TemplateData za Rotten Tomatoes person-lat

{{#ifeq:Rotten Tomatoes person-lat|sandbox||

}} <templatedata> {

       "description": "This template generates an external link to a page for a person at the Rotten Tomatoes website.",

"params": { "1": { "label": "ID", "description": "ID string used in the URL.", "type": "string", "required": true, "aliases": [ "id" ] }, "2": { "label": "Name", "description": "Name displayed as the link text. If not specified it defaults to the article's Rotten Tomatoes person-lat, without disambiguation.", "type": "string",

                       "required": false,

"aliases": [ "name", "title" ] } } } </templatedata>

See also

{{#ifeq:Rotten Tomatoes person-lat|sandbox | | }}