Difference between revisions of "Template:OXPSortableTableRow"

From Elite Wiki
Line 1: Line 1:
 
<noinclude>Usage:
 
<noinclude>Usage:
   
<code><nowiki>{{OXPSortableTableRow|Category|NameAndDescription|Main Author|Contributors|Date|Version}}</nowiki></code>
+
<code><nowiki>{{OXPSortableTableRow|cat=Category|name=Name And Description|aut=Main Author|con=Contributors|date=Date|ver=Version}}</nowiki></code>
   
 
</noinclude>
 
</noinclude>
 
|-
 
|-
|style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|[[:Category:{{{1}}} OXPs|{{{1}}}]]
+
|style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|[[:Category:{{{cat}}} OXPs|{{{cat}}}]]
|style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{2}}}
+
|style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{name}}}
|style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{3}}} <span style="display:{{{6|none}}}" title="{{{6|}}}"> [[Image:Oolite-gov-multigov.png|12px|link=|{{{6|}}}]]</span>
+
|style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{aut}}} <span style="display:{{{con|none}}}" title="{{{con|}}}"> [[Image:Oolite-gov-multigov.png|12px|link=|{{{con|}}}]]</span>
|style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{4}}}
+
|style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{date}}}
|style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{5}}}
+
|style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{ver}}}

Revision as of 17:43, 26 August 2010

Usage:

{{OXPSortableTableRow|cat=Category|name=Name And Description|aut=Main Author|con=Contributors|date=Date|ver=Version}}


|- |style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|[[:Category:{{{cat}}} OXPs|{{{cat}}}]] |style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{name}}} |style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{aut}}} Oolite-gov-multigov.png |style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{date}}} |style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{ver}}}