Difference between revisions of "Template:Update"
Jump to navigation
Jump to search
Hari Seldon (talk | contribs) |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{!}}- bgcolor="{{{1}}}" | <includeonly>{{!}}- bgcolor="{{{1}}}" | ||
{{!}} style="float:left" {{!}} [[{{{2}}}]] [{{{3}}}] {{{4}}} {{! | {{!}} style="float:left" {{!}} [[{{{2}}}]] [{{{3}}}] {{{4}}} {{!!}} style="float:right" {{!}} {{{5}}} {{!!}} align="left" {{!}} {{{6}}} {{!!}} align="right" {{!}} {{{7}}} {{!!}} align="right" {{!}} {{{8}}} {{!}}{{!}} align="left" {{!}} {{{9}}} {{!!}} align="left" {{!}} {{{10}}} | ||
{{!}}- | {{!}}-</includeonly><noinclude>This template is used as an entry in the [[Recently Updated Roguelikes]] page to reduce HTML/CSS/table stuff there and increase maintainability of the page. | ||
Usage: | |||
<nowiki>{{Update | color | name | extraInfo |url| stability | theme | date | version | based | lang }}</nowiki> | |||
Parameters: | |||
# ''color'' - background color of the entry | |||
# ''name'' - title of the roguelike (note: it's used to create a link) | |||
# ''extraInfo'' - extra information, if needed (e. g. former title) | |||
# ''url'' - home page of the game | |||
# ''stability'' - typically one of the templates: {{stable}} {{alpha}} {{beta}} (<code><nowiki>{{stable}} {{alpha}} {{beta}}</nowiki></code>) | |||
# ''theme'' - game's main theme (e. g. fantasy, s-f) | |||
# ''date'' - last release date | |||
# ''version'' - last version number | |||
# ''based'' - the main predecessor (if any) | |||
# ''lang'' - programming language(s) used | |||
If something screws up, it's probably the ''url'' parameter. Please be careful about it. There should be no spaces before and after the URL and it must not contain special characters, most notably the '=' character. The '=' can be replaced by the utility template <nowiki>{{=}}</nowiki>. The same thing applies to the other parameters, but it is especially important in URLs, as they unfortunately often contain '='. | |||
[[Category:Templates]] | |||
</noinclude> |
Latest revision as of 13:10, 3 December 2018
This template is used as an entry in the Recently Updated Roguelikes page to reduce HTML/CSS/table stuff there and increase maintainability of the page. Usage:
{{Update | color | name | extraInfo |url| stability | theme | date | version | based | lang }}
Parameters:
- color - background color of the entry
- name - title of the roguelike (note: it's used to create a link)
- extraInfo - extra information, if needed (e. g. former title)
- url - home page of the game
- stability - typically one of the templates: stable αlpha βeta (
{{stable}} {{alpha}} {{beta}}
) - theme - game's main theme (e. g. fantasy, s-f)
- date - last release date
- version - last version number
- based - the main predecessor (if any)
- lang - programming language(s) used
If something screws up, it's probably the url parameter. Please be careful about it. There should be no spaces before and after the URL and it must not contain special characters, most notably the '=' character. The '=' can be replaced by the utility template {{=}}. The same thing applies to the other parameters, but it is especially important in URLs, as they unfortunately often contain '='.