Difference between revisions of "Template:OBSE Plugin"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Speedo
(Blah, reverting, not worth the trouble)
imported>Darkness X
m
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- Please DO NOT attempt to edit this template unless you know what you're doing, and are prepared to fix anything that you break. -->
<noinclude>This template is used to display information on the main page of an OBSE plugin.  It will automatically add the page to [[:Category: OBSE Plug-Ins]].
 
<noinclude>
This template is used to display information on the main page of an OBSE plugin.  It will automatically add the page to [[:Category: OBSE Plug-Ins]].


To use the template, include the following in the desired page:
To use the template, include the following in the desired page:
Line 23: Line 20:
==Notes==
==Notes==
*If you wish to include optional values when using the template, but still displaying their default information (Unknown/NA/etc.), set their value as '''0'''.
*If you wish to include optional values when using the template, but still displaying their default information (Unknown/NA/etc.), set their value as '''0'''.
**The exceoption is ''InternalVer'', which must be set to '''null''' to display default information.
**The exception is ''InternalVer'', which must be set to '''null''' to display default information.
*If ''Source'' is not defined or '''0''', the template will display "Not Available".  If the source code is available at the same link given in ''Download'', you can simply use "Source=1" to duplicate the link.
*If ''Source'' is not defined or '''0''', the template will display "Not Available".  If the source code is available at the same link given in ''Download'', you can simply use "Source=1" to duplicate the link.


Line 32: Line 29:
{| border="2" cellpadding="5" cellspacing="0" width="80%" align="center"
{| border="2" cellpadding="5" cellspacing="0" width="80%" align="center"
|-
|-
!style="background:{{{TitleBG|#ffdead}}};" colspan="2"|<font style="font-size:150%">{{{Name}}}</font>
!style="background:{{{TitleBG|#ffdead}}}; font-size:150%" colspan="2"|{{{Name}}}
|-
|-
!style="background:{{{TitleBG|#ffdead}}};" width="20%"|Author(s)
!style="background:{{{TitleBG|#ffdead}}};" width="20%"|Author(s)
Line 65: Line 62:
<font style="font-size:90%">(for use with [[IsPluginInstalled]]/[[GetPluginVersion]])</font> }}
<font style="font-size:90%">(for use with [[IsPluginInstalled]]/[[GetPluginVersion]])</font> }}
|}
|}
<includeonly>
<includeonly>
[[Category: OBSE Plug-Ins]]
[[Category: OBSE Plug-Ins]]
</includeonly>
</includeonly>
<noinclude>
[[Category: Templates|OBSE Plugin]]
[[Category: Function Info Templates|OBSE Plugin]]
</noinclude>

Latest revision as of 09:50, 7 August 2010

This template is used to display information on the main page of an OBSE plugin. It will automatically add the page to Category: OBSE Plug-Ins.

To use the template, include the following in the desired page:

{{OBSE Plugin
|Version     = OPTIONAL (should be the latest public release)
|InternalVer = OPTIONAL (number returned by GetPluginVersion)
|Name        =
|Author      =
|Description =
|Install     = (installation instructions)
|Download    = (download link)
|Source      = OPTIONAL (source code link - see note)
|Discussions = OPTIONAL
|OBSEname    = OPTIONAL (name used for IsPluginInstalled
|TitleBG     = OPTIONAL (color of title boxes, default #ffdead)
|TextBG      = OPTIONAL (color of text boxes, default #ffeded)
}}

Notes[edit source]

  • If you wish to include optional values when using the template, but still displaying their default information (Unknown/NA/etc.), set their value as 0.
    • The exception is InternalVer, which must be set to null to display default information.
  • If Source is not defined or 0, the template will display "Not Available". If the source code is available at the same link given in Download, you can simply use "Source=1" to duplicate the link.




{{{Name}}}
Author(s)

{{{Author}}}

Current Version (Unknown)
Description

{{{Description}}}

Installation

{{{Install}}}

Download

{{{Download}}}

Source Code

Not Available

Discussions

(None)

OBSE Name (Unknown)