Content deleted Content added
Copy edit - add explicit directions |
Undid revision 1283042064 by 69.197.192.89 (talk) |
||
(16 intermediate revisions by 9 users not shown) | |||
Line 1:
{{Documentation subpage}}
{{esoteric}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
This is
== Usage ==
===
<syntaxhighlight lang="wikitext">
To generate a simple heading just use the following code:{{-}}▼
|Heading name
|image = <!-- Required, set the image to be used in the banner. the "File:" prefix is not needed-->
|image_size = <!-- changes the image size, defaults to 100px. The "px" is not needed -->
|project = <!-- Required, set the name of the project -->
|shortcut = <!-- places a standard shortcut box on the right side of the box -->
|border = <!-- sets border color, defaults to gray. -->
|bgcolor = <!-- sets background color, defaults to lightblue. -->
}}
</syntaxhighlight>
=== Simple usage ===
<code>{{temt|Project page header |image=Foodlogo2.svg |project=Food & Drink}}</code>
Line 15 ⟶ 26:
=== Headings ===
To add a heading below the banner, use the following code:
<code>{{temt|Project page header|Heading name}}</code>
Which will generate:
{{Project page header |Heading name |image=Foodlogo2.svg |project=Food & Drink}}
=== Shortcut ===
Line 26 ⟶ 37:
Which will generate:
{{Project page header |image=Foodlogo2.svg |project=Food & Drink |shortcut=wp:food}}
=== Customization ===
There are several variables that can be used to customize this template.
== See also ==
{{Project template list}}
<includeonly>▼
<!-- Categories go here, and interwikis go in Wikidata -->▼
<includeonly>{{Sandbox other||
▲<!-- Categories go here, and interwikis go in Wikidata -->
▲</includeonly>
[[Category:Generic WikiProject templates]]
▲}}</includeonly>
|