From Fedora Project Wiki

(First try)
 
(Move from obsolete Extension:Click to File link)
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<onlyinclude><div style="float:right; padding: 0px 0px 1em 1em; clear: right;">
This template provides compact headers for interested Fedora groups. The syntax is as follows:
{{#switch:{{{1|fonts|fonts-sig}}}
<nowiki>{{compactheader|</nowiki>''project''<nowiki>}}</nowiki>
|fonts = [[File:Fonts_CompactHeader.png|link=Category:Fonts|A page on Fedora Fonts]]
where ''project'' is replaced by one of:
|fonts-sig = [[File:SIGs_Fonts_CompactHeader.png|link=Category:Fonts SIG|A page of the Fonts Special Interest Group]]
 
|header fail
* fonts ([[SIGs/Fonts]])
}}
 
</div></onlyinclude>


== Adding your group's compact header to this template ==
{{tempdoc}}
First, pick a short, individual word that describes your group that isn't above. For examples, see above.
[[Category:Header templates]]
 
We need a compact header image now. Upload or find your 480x50 compact header image and get the name of it, including the <code>Image:</code> and the syntax.
 
Now, edit this template, and above the line that says
|header fail
place a line that contains
|''shortname'' = [[Image:''filename.png''|right]]
replacing ''shortname'' with the shortname you wanted to use, and ''filename.png'' with the filename.
 
The last and most important part: document your change! Above in the list that shows on the page, add your entry and the index page for your sub-project.
</noinclude><includeonly><div style="float:right; padding: 0px 0px 1em 1em;">
{{#switch:{{{1|none}}}
|fonts = [[Image:SIGs_Fonts_CompactHeader.png|right]]
}}
</div>

Latest revision as of 11:29, 26 July 2011

A page on Fedora Fonts

Template documentation [edit]

This documentation is transcluded from Template:CompactHeader/doc. It will not be transcluded on pages that use this template.

This template provides the headers for all the sub-project pages. The syntax is as follows:

{{Compactheader|project}}

where project is replaced by one of:

Adding your project's header to this template

First, pick a short, individual word that describes your group that isn't above. For examples, see above.

We need a header image now. Upload or find your 468x60 header image and get the name of it, including the Image: and the file extension.

Now, edit this template, and above the line that says

|header fail

place a line that contains

|shortname =

replacing shortname with the shortname you wanted to use, and filename.png with the filename.

The last and most important part: document your change! Edit this documentation, and in the list that shows on the page, add your entry and the index page for your sub-project.