Difference between revisions of "Template:OXPSortableTableRow"

From Elite Wiki
(added nolinkcat keyword for unlinked categories)
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>Usage:
 
<noinclude>Usage:
   
<code><nowiki>{{OXPSortableTableRow|Category|NameAndDescription|Author|Date|Version}}</nowiki></code>
+
<code><nowiki>{{OXPSortableTableRow|cat=Category|nolinkcat=Category without Link|name=Name and Description|aut=Main Author|con=Contributors|date=Date|work=Compatibility}}</nowiki></code>
   
 
</noinclude>
 
</noinclude>
 
|-
 
|-
|style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; overflow: hidden; word-wrap: break-word; vertical-align: top; white-space: nowrap; text-align: left;"|[[:Category:{{{1}}} OXPs|{{{1}}}]]
+
|style="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-size: 12px; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{nolinkcat|[[:Category:{{{cat}}} OXPs|{{{cat}}}]]}}}
|style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; overflow: hidden; word-wrap: break-word; vertical-align: top; white-space: nowrap; text-align: left;"|{{{2}}}
+
|style="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-size: 12px; vertical-align: top; text-align: left; white-space:normal; word-wrap: break-word;"|{{{desc}}}
|style="border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; overflow: hidden; word-wrap: break-word; vertical-align: top; white-space: nowrap; text-align: left;"|{{{3}}}
+
|style="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-size: 12px; 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; overflow: hidden; word-wrap: break-word; vertical-align: top; white-space: nowrap; text-align: left;"|{{{4}}}
+
|style="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-size: 12px; 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; overflow: hidden; word-wrap: break-word; vertical-align: top; white-space: nowrap; text-align: left;"|{{{5}}}
+
|style="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-size: 12px; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{work|}}}

Latest revision as of 21:41, 30 May 2011

Usage:

{{OXPSortableTableRow|cat=Category|nolinkcat=Category without Link|name=Name and Description|aut=Main Author|con=Contributors|date=Date|work=Compatibility}}


|- |style="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-size: 12px; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|[[:Category:{{{cat}}} OXPs|{{{cat}}}]] |style="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-size: 12px; vertical-align: top; text-align: left; white-space:normal; word-wrap: break-word;"|{{{desc}}} |style="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-size: 12px; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"| Oolite-gov-multigov.png |style="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-size: 12px; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"| |style="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-size: 12px; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|