Difference between revisions of "Template:OXPSortableTableRow"

From Elite Wiki
m
(added nolinkcat keyword for unlinked categories)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>Usage:
 
<noinclude>Usage:
   
<code><nowiki>{{OXPSortableTableRow|cat=Category|name=Name And Description|aut=Main Author|con=Contributors|date=Date|work=Compatibility}}</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="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-family: 'Times New Roman', Times, serif; 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; overflow: hidden; white-space: nowrap;"|{{{nolinkcat|[[:Category:{{{cat}}} OXPs|{{{cat}}}]]}}}
|style="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-family: 'Times New Roman', Times, serif; font-size: 12px; vertical-align: top; text-align: left; white-space:normal; word-wrap: break-word;"|{{{desc}}}<span style="display:{{{ext|none}}}" title="{{{ext|}}}"> [[Image:Continuation.gif|12px|link=|{{{ext|}}}]]</span>
+
|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-family: 'Times New Roman', Times, serif; 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="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="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-family: 'Times New Roman', Times, serif; font-size: 12px; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{date|}}}
+
|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="margin: 0px; padding: 0px; border-style: solid; border-width: 1px; border-color: #ffffff; background-color:#f0f0ff; font-family: 'Times New Roman', Times, serif; font-size: 12px; vertical-align: top; text-align: left; overflow: hidden; white-space: nowrap;"|{{{work|}}}
+
|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;"|