FGC:Header: Difference between revisions

From EvaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{anchor|{{{name|}}}}}<h1 class="fgc_header">{{{text|}}}</h1></includeonly>
<includeonly><xh1 class="fgc_header" id="{{{name|}}}">{{{text|}}}</xh1></includeonly>
<noinclude>
<noinclude>
==Usage==
==Usage==
Creates a centred header, useful on FGC pages where the standard Mediawiki header system is unsuitable. Creates a header with the required text an anchor tag with optional name, useful for linking to the page.
Creates a centred header, useful on FGC pages where the standard Mediawiki header system is unsuitable. Creates a header with the required text and optional id, useful for linking to the page.


To create a header, use the following code
To create a header, use the following code

Revision as of 21:32, 19 December 2009


Usage

Creates a centred header, useful on FGC pages where the standard Mediawiki header system is unsuitable. Creates a header with the required text and optional id, useful for linking to the page.

To create a header, use the following code

{{FGC:Header|text=|name=}}

Example

The following code create the header below it.

{{FGC:Header|text=This is a centred header|name=example_link_end}}

<xh1 class="fgc_header" id="example_link_end">This is a centred header</xh1>


The header can be linked to with code similar to the following

[[FGC:Header#example_link_end]]

FGC:Header#example_link_end