Template:Page

From Valve Developer Community
Jump to: navigation, search
Under construction.png
This Template page is currently Work in Progress and it's not recommended to be used on pages.
As a courtesy, please do not edit this Template while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The user who added this notice, should you wish to contact them, is: Max34
Additional Notes: Designed for the new page format.

Icon-Important.pngImportant:This template is still under development, so it may have many flaws.

Apart from this template, I (Max34) am working on a chrome extension called VDCEditor in which I also plan to implement support for this whole page template system to make editing much easier.

Blank image.pngTodo: ☐ Add an icon for the subpage button instead of /...

☐ Either modify the maintenance templates to make it easier to work with this template, or embed the maintenance templates directly into this template (which will give more options to the maintenance templates).

☐ Experiment with adding new lines without constantly copying a large piece of code or make this process simpler).

☐ Do something to be able to preview when editing a strings subpage (maybe we should go back to Str template instead of using /Str).

(For copying: ☐ )

New version of the {{MultiPage}} template. Uses a completely different page structure, compressing everything into two pages (main one and strings subpage), without the need for language subpages.

Usage

Default template usage.

{{Page}}

Changes the name of the page that will be displayed in the header and when searching on the Internet. Without this parameter, the default page title will be used.

{{Page|title=Example title}}

Changes the page header. Does not change the name of the page for the Internet.

{{Page|header=Interesting header that can use <div> tags, for example}}

The header can be removed completely if you specify it empty.

{{Page|header=}}

Access to header style.

{{Page|header style=color:green}}

An area for adding icons or other small elements. Maximum available height: 31 pixels. If the content of this parameter exceeds this height, the entire panel will begin to slide down and the content will begin to overlap the line and below. Preferred icon size: 24 pixels.

{{Page|icons=[[File:ESRB E10 Rating.png|link=|24px]] [[File:Hl2-16px.png|link=|24px]]}}