Difference between revisions of "Template:Banner"

From VideoLAN Wiki
Jump to navigation Jump to search
(Expand, add documentation)
m (Fix last)
Line 35: Line 35:
 
=== Examples ===
 
=== Examples ===
 
==== Main Page ====
 
==== Main Page ====
<code>{{{{PAGENAME}}<nowiki>|welcome to=VideoLAN's wiki|description=The reference documentation and tips on VideoLAN's projects.|links=* [[VideoLAN]] * [[VLC media player]] ** [https://addons.videolan.org/ Add-ons for VLC] * [[Documentation:Documentation|Documentation]]|links2=* [https://videolan.org Main Site] * [https://forum.videolan.org Forum] * [https://planet.videolan.org News from developers]|links3=* [https://videolan.org/developers/ Developer's website] * [http://nightlies.videolan.org Latest builds] * [https://trac.videolan.org/vlc/ Trac, Bugs, SVN and roadmap]}}</nowiki></code>
+
<code>{{{{PAGENAME}}<nowiki>
{{{{PAGENAME}}|welcome to=VideoLAN's wiki|description=The reference documentation and tips on VideoLAN's projects.|links=* [[VideoLAN]] * [[VLC media player]] ** [https://addons.videolan.org/ Add-ons for VLC] * [[Documentation:Documentation|Documentation]]|links2=* [https://videolan.org Main Site] * [https://forum.videolan.org Forum] * [https://planet.videolan.org News from developers]|links3=* [https://videolan.org/developers/ Developer's website] * [http://nightlies.videolan.org Latest builds] * [https://trac.videolan.org/vlc/ Trac, Bugs, SVN and roadmap]}}
+
|welcome to=VideoLAN's wiki
 +
|description=The reference documentation and tips on VideoLAN's projects.
 +
|links=
 +
* [[VideoLAN]]
 +
* [[VLC media player]]
 +
** [https://addons.videolan.org/ Add-ons for VLC]
 +
* [[Documentation:Documentation|Documentation]]
 +
|links2=
 +
* [https://videolan.org Main Site]
 +
* [https://forum.videolan.org Forum]
 +
* [https://planet.videolan.org News from developers]
 +
|links3=
 +
* [https://videolan.org/developers/ Developer's website]
 +
* [http://nightlies.videolan.org Latest builds]
 +
* [https://trac.videolan.org/vlc/ Trac, Bugs, SVN and roadmap]
 +
}}</nowiki></code>
 +
{{{{PAGENAME}}
 +
|welcome to=VideoLAN's wiki
 +
|description=The reference documentation and tips on VideoLAN's projects.
 +
|links=
 +
* [[VideoLAN]]
 +
* [[VLC media player]]
 +
** [https://addons.videolan.org/ Add-ons for VLC]
 +
* [[Documentation:Documentation|Documentation]]
 +
|links2=
 +
* [https://videolan.org Main Site]
 +
* [https://forum.videolan.org Forum]
 +
* [https://planet.videolan.org News from developers]
 +
|links3=
 +
* [https://videolan.org/developers/ Developer's website]
 +
* [http://nightlies.videolan.org Latest builds]
 +
* [https://trac.videolan.org/vlc/ Trac, Bugs, SVN and roadmap]
 +
}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 04:26, 27 April 2019

Usage

{{Banner|welcome to= |description= |links= |links2= |links3= }}

Parameters

  • |welcome to= (Optional) Specify custom text for the page name (without welcome to), default is the name of the page
  • |description= (Required) Describe the purpose of the page or its contents (e.g. The reference documentation on VideoLAN's projects.)
  • |links= (Optional) A bulleted list of links, defaults to generic links
  • |links2= (Optional) A bulleted list of links, defaults to generic links
  • |links3= (Optional) A bulleted list of links, defaults to generic links

Examples

Main Page

{{Banner |welcome to=VideoLAN's wiki |description=The reference documentation and tips on VideoLAN's projects. |links= * [[VideoLAN]] * [[VLC media player]] ** [https://addons.videolan.org/ Add-ons for VLC] * [[Documentation:Documentation|Documentation]] |links2= * [https://videolan.org Main Site] * [https://forum.videolan.org Forum] * [https://planet.videolan.org News from developers] |links3= * [https://videolan.org/developers/ Developer's website] * [http://nightlies.videolan.org Latest builds] * [https://trac.videolan.org/vlc/ Trac, Bugs, SVN and roadmap] }}