Difference between revisions of "Template:Extensions"
From Organic Design wiki
(New dump) |
|||
Line 5: | Line 5: | ||
<pre>{{Extension | <pre>{{Extension | ||
− | | | + | |Name=Extension:[Name] |
− | | | + | |Author= |
− | | | + | |Description= |
− | | | + | |Version= |
− | | | + | |LatestRevision= |
− | | | + | |Link= |
+ | |Status= | ||
}}</pre> | }}</pre> | ||
The order of the fields is not relevant. The template should be given as the ''first'' thing on a page. | The order of the fields is not relevant. The template should be given as the ''first'' thing on a page. | ||
− | |||
</noinclude> | </noinclude> | ||
− | + | {| class="ext-infobox ext-status-{{#switch: {{{Status|Recommended}}}|Possible|Recommended|Installed={{{Status}}}|Obsolete}}" style="float: right; background-color: white; min-width:20%;" | |
− | < | + | |- class="ext-header" |
− | {| | + | ! colspan="2" | [[Image:{{#ifeq: {{{Status|}}}|Obsolete|Crystal Clear app error.png|Crystal Clear action run.png}}|left|40px]] <span style="font-size: 130%;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</span> |
|- | |- | ||
− | | | + | | Author(s) || [[Author::{{{Author|}}}]] |
|- | |- | ||
− | | | + | | Description || [[Extension description::{{{Description|}}}]] |
|- | |- | ||
− | | | + | | Version || [[Extension version::{{{Version|}}}]] |
|- | |- | ||
− | | | + | {{#ifeq:{{{LatestRevision|}}}|||{{Tablerow|Label=Latest release|Value=[[Extension latest revision::{{{LatestRevision}}}]]}}}} |
|- | |- | ||
− | | | + | | URL: || [[Extension URL::{{{Link|}}}]] |
− | |||
− | |||
|} | |} | ||
+ | <!-- | ||
+ | This property allows the forms to pick up the semantic Property: and Type: for the drop down menu | ||
+ | [[Extension status::{{{Status}}}|]] | ||
+ | --> | ||
+ | |||
+ | <includeonly> | ||
− | [[Category: | + | [[Category:Extensions]] [[Category: {{{Status}}} extensions]] |
</includeonly> | </includeonly> |
Latest revision as of 03:33, 14 February 2008
This template simplifies the creation of articles about Extensions. When inserted in a extension page, it creates a decorative table with much helpful information. It also takes care of annotating the given data semantically, so that users can easily find it or query it in other articles. Do not try to read this page's source code for learning table syntax – there are far easier ways of creating tables in MediaWiki.
This Template is used by Form:Extension
{{Extension |Name=Extension:[Name] |Author= |Description= |Version= |LatestRevision= |Link= |Status= }}
The order of the fields is not relevant. The template should be given as the first thing on a page.
Extensions | |
---|---|
Author(s) | |
Description | |
Version | |
URL: |