Template:Mediaboywiki/doc: Difference between revisions

From BoyWiki
(Created page with ";Utilisation : :Présente un lien vers une autre ressource (MediaBoyWiki) sur le même sujet. ;Syntaxe : <pre><nowiki>{{Mediaboywiki [|titre=] | [cadre=oui] | nom }}</nowiki>...")
 
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
;Utilisation :
;Utilization :
:Présente un lien vers une autre ressource (MediaBoyWiki) sur le même sujet.
:Makes a link to (MediaBoyWiki) on the same subject.
;Syntaxe :  
;Syntaxe :  
<pre><nowiki>{{Mediaboywiki [|titre=] | [cadre=oui] | nom }}</nowiki></pre>
<pre><nowiki>{{Mediaboywiki |title= | frame=yes or frame=no }}</nowiki></pre>
;Paramètres
;Parameters
*nom : nom de la page sur la ressource (MediaBoyWiki)
*name : name of the page on (MediaBoyWiki)
*titre= : (optionnel) titre du lien - par défaut: nom de la page courante
*title= : (optional) title of the link - defaults to the page name.
*cadre=oui : (optionnel) ajoute un encadré et un fond.
*frame=yes : (optional) puts it in a box with a background.
;Examples:
('''with frame''')
 
<nowiki>{{Mediaboywiki|title=the film ''Voor een verloren soldaat''|Category:Voor_een_verloren_soldaat_(Roeland_Kerbosch)|frame= yes}}
</nowiki>
 
'''Gives:'''
{{Mediaboywiki|frame= yes|title=the film ''Voor een verloren soldaat''|Category:Voor_een_verloren_soldaat_(Roeland_Kerbosch)}}
{{clr}}
('''without frame''')
<nowiki>{{Mediaboywiki|title=the film ''Voor een verloren soldaat''|Category:Voor_een_verloren_soldaat_(Roeland_Kerbosch)}}</nowiki>
 
'''Gives:'''
{{Mediaboywiki|title=the film ''Voor een verloren soldaat''|Category:Voor_een_verloren_soldaat_(Roeland_Kerbosch)}}
{{clr}}
&nbsp;
 
&nbsp;
&nbsp;
<includeonly>
<includeonly>
[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><includeonly>
[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><includeonly>
[[Category:Infobox templates| ]]</includeonly><noinclude>
[[Category:Infobox templates| ]]</includeonly><noinclude>
[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 12:51, 12 June 2014

Utilization
Makes a link to (MediaBoyWiki) on the same subject.
Syntaxe
{{Mediaboywiki |title= | frame=yes or frame=no }}
Parameters
  • name : name of the page on (MediaBoyWiki)
  • title= : (optional) title of the link - defaults to the page name.
  • frame=yes : (optional) puts it in a box with a background.
Examples

(with frame)

{{Mediaboywiki|title=the film ''Voor een verloren soldaat''|Category:Voor_een_verloren_soldaat_(Roeland_Kerbosch)|frame= yes}}

Gives:

(without frame) {{Mediaboywiki|title=the film ''Voor een verloren soldaat''|Category:Voor_een_verloren_soldaat_(Roeland_Kerbosch)}}

Gives: