Bienvenue sur le wiki de Nuit debout, nous sommes le 2985 mars.




Modèle:YouTube : Différence entre versions

De NuitDebout
Aller à : navigation, rechercher
m (1 révision importée)
(this template is also used in the user and draft namespace)
 
Ligne 1 : Ligne 1 :
{{#evt:
+
[https://www.youtube.com/{{#if:{{{user|{{{u|}}}}}}
service=youtube
+
|user/{{{user|{{{u|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{{title|{{{1}}}}}}</span>|{{PAGENAME}}}}{{{suffix|'s}}} channel]
|id={{{1|}}}
+
|{{#if:{{{channel|{{{c|}}}}}}
|alignment={{{2|}}}
+
  |channel/{{{channel|{{{c|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{{title|{{{1}}}}}}</span>|{{PAGENAME}}}}{{{suffix|'s}}} channel]
|description={{{3|}}}
+
  |{{#if:{{{show|{{{s|}}}}}}
}}
+
  |show/{{{show|{{{s|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{{title|{{{1}}}}}}</span>|''{{PAGENAME}}''}}] show
 +
  |{{#if:{{{playlist|{{{p|}}}}}}
 +
    |playlist?list={{{playlist|{{{p|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{{title|{{{1}}}}}}</span>|{{PAGENAME}}}}] playlist
 +
    |{{#if:{{{id|{{{1<includeonly>|</includeonly>}}}}}}
 +
    |watch?v={{Trim|{{{id|{{{1|}}}}}}}} {{#if:{{{title|}}}|<span class="plainlinks">{{{title}}}</span>|{{#if:{{{id|}}}|{{#if:{{{1|}}}|<span class="plainlinks">{{{1}}}</span>|Video}}|{{#if:{{{2|}}}|<span class="plainlinks">{{{2}}}</span>|Video}}}}}}]
 +
    | {{error|Error:No page id specified}}]{{Namespace detect
 +
  |talk=|wikipedia=|help=|template=|module=
 +
  |other=[[Category:Articles using YouTube with invalid parameters]]
 +
    }}
 +
    }}
 +
  }}
 +
  }}
 +
}}
 +
}} on {{#ifeq:{{{link}}}|no
 +
|YouTube
 +
|[[YouTube]]
 +
}}{{#ifexpr:{{#expr:
 +
  {{#if:{{{user|}}}|1|0}}+
 +
  {{#if:{{{u|}}}|1|0}}+
 +
  {{#if:{{{channel|}}}|1|0}}+
 +
  {{#if:{{{c|}}}|1|0}}+
 +
  {{#if:{{{show|}}}|1|0}}+
 +
  {{#if:{{{s|}}}|1|0}}+
 +
  {{#if:{{{playlist|}}}|1|0}}+
 +
  {{#if:{{{p|}}}|1|0}}+
 +
  {{#if:{{{id|}}}|1|0}}+
 +
  {{#if:{{{2|}}}|1|0}}+
 +
  {{#if:{{{title|}}}|{{#if:{{{1|{{{2|}}}}}}|1|0}}|0}}
 +
}}>1
 +
|{{Namespace detect
 +
  |talk=|wikipedia=|help=|template=|module=
 +
  |other=[[Category:Articles using YouTube with invalid parameters]]
 +
}}
 +
}}{{#if:{{{user|}}}{{{u|}}}{{{channel|}}}{{{c|}}}
 +
||{{#ifeq:{{{suffix|α}}}|α
 +
  ||{{Namespace detect
 +
  |talk=|wikipedia=|help=|template=|module=
 +
  |other=[[Category:Articles using YouTube with invalid parameters]]
 +
  }}
 +
}}
 +
}}{{#invoke:Check for unknown parameters|check|unknown={{Namespace detect|talk=|wikipedia=|help=|template=|module=|other=[[Category:Pages using YouTube with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:YouTube]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | c | channel | id | link | p | playlist | s | show | suffix | title | u | user }}<noinclude>{{documentation}}</noinclude>

Version actuelle en date du 18 décembre 2016 à 04:45

Video on YouTube
 Documentation[créer] [purger]