Template:Navbox: Difference between revisions

From Vintage Story Wiki
Removing links from all group titles (permits use of {{tl|pll}} or just... not linking)
m (Added hidden parameter)
(Removing links from all group titles (permits use of {{tl|pll}} or just... not linking))
Line 10: Line 10:
<!-- Group 1 -->
<!-- Group 1 -->
   <tr>
   <tr>
     {{#if: {{{group1|}}} |<td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">[[{{{group1}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group1}}}</span>]]</td>}}
     {{#if: {{{group1|}}} |<td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">{{{group1}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group1}}}</span></td>}}
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #CCBCAB | #e0cfbb}}; ">{{{body1|}}}</td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #CCBCAB | #e0cfbb}}; ">{{{body1|}}}</td>
   </tr>
   </tr>
Line 16: Line 16:
{{#if: {{{group2|}}} |
{{#if: {{{group2|}}} |
   <tr>
   <tr>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">[[{{{group2}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group2}}}</span>]]</td>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">{{{group2}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group2}}}</span></td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #e0cfbb | #CCBCAB }};">{{#if: {{{body2|}}}|{{{body2}}}|}}</td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #e0cfbb | #CCBCAB }};">{{#if: {{{body2|}}}|{{{body2}}}|}}</td>
   </tr>
   </tr>
Line 23: Line 23:
{{#if: {{{group3|}}} |
{{#if: {{{group3|}}} |
   <tr>
   <tr>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">[[{{{group1}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group3}}}</span>]]</td>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">{{{group1}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group3}}}</span></td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #CCBCAB | #e0cfbb}};">{{#if: {{{body3|}}}|{{{body3}}}|}}</td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #CCBCAB | #e0cfbb}};">{{#if: {{{body3|}}}|{{{body3}}}|}}</td>
   </tr>
   </tr>
Line 30: Line 30:
{{#if: {{{group4|}}} |
{{#if: {{{group4|}}} |
   <tr>
   <tr>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">[[{{{group4}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group4}}}</span>]]</td>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">{{{group4}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group4}}}</span></td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #e0cfbb | #CCBCAB }};">{{#if: {{{body4|}}}|{{{body4}}}|}}</td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #e0cfbb | #CCBCAB }};">{{#if: {{{body4|}}}|{{{body4}}}|}}</td>
   </tr>
   </tr>
Line 37: Line 37:
{{#if: {{{group5|}}} |
{{#if: {{{group5|}}} |
   <tr>
   <tr>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">[[{{{group5}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group5}}}</span>]]</td>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">{{{group5}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group5}}}</span></td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #CCBCAB | #e0cfbb}};">{{#if: {{{body5|}}}|{{{body5}}}|}}</td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #CCBCAB | #e0cfbb}};">{{#if: {{{body5|}}}|{{{body5}}}|}}</td>
   </tr>
   </tr>
Line 44: Line 44:
{{#if: {{{group6|}}} |
{{#if: {{{group6|}}} |
   <tr>
   <tr>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">[[{{{group6}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group6}}}</span>]]</td>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">{{{group6}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group6}}}</span></td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #e0cfbb | #CCBCAB }};">{{#if: {{{body6|}}}|{{{body6}}}|}}</td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #e0cfbb | #CCBCAB }};">{{#if: {{{body6|}}}|{{{body6}}}|}}</td>
   </tr>
   </tr>
Line 51: Line 51:
{{#if: {{{group7|}}} |
{{#if: {{{group7|}}} |
   <tr>
   <tr>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">[[{{{group7}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group7}}}</span>]]</td>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">{{{group7}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group7}}}</span></td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #CCBCAB | #e0cfbb}};">{{#if: {{{body7|}}}|{{{body7}}}|}}</td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #CCBCAB | #e0cfbb}};">{{#if: {{{body7|}}}|{{{body7}}}|}}</td>
   </tr>
   </tr>
Line 58: Line 58:
{{#if: {{{group8|}}} |
{{#if: {{{group8|}}} |
   <tr>
   <tr>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">[[{{{group8}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group8}}}</span>]]</td>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">{{{group8}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group8}}}</span></td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #e0cfbb | #CCBCAB }};">{{#if: {{{body8|}}}|{{{body8}}}|}}</td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #e0cfbb | #CCBCAB }};">{{#if: {{{body8|}}}|{{{body8}}}|}}</td>
   </tr>
   </tr>
Line 65: Line 65:
{{#if: {{{group9|}}} |
{{#if: {{{group9|}}} |
   <tr>
   <tr>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">[[{{{group9}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group9}}}</span>]]</td>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">{{{group9}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group9}}}</span></td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #CCBCAB | #e0cfbb}};">{{#if: {{{body9|}}}|{{{body9}}}|}}</td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #CCBCAB | #e0cfbb}};">{{#if: {{{body9|}}}|{{{body9}}}|}}</td>
   </tr>
   </tr>
Line 72: Line 72:
{{#if: {{{group10|}}} |
{{#if: {{{group10|}}} |
   <tr>
   <tr>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">[[{{{group10}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group10}}}</span>]]</td>
     <td style="height: 30px; {{#if: {{{groupstyle|}}}|{{{groupstyle}}}| text-align: center; width: 10%; background: #5B4C3E;}}">{{{group10}}}|<span style="{{#if: {{{groupfont|}}}|{{{groupfont}}}|color: #e0cfbb;}}">{{{group10}}}</span></td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #e0cfbb | #CCBCAB }};">{{#if: {{{body10|}}}|{{{body10}}}|}}</td>
     <td style="{{{bodystyle|}}} background:{{#if: {{{swap|}}}| #e0cfbb | #CCBCAB }};">{{#if: {{{body10|}}}|{{{body10}}}|}}</td>
   </tr>
   </tr>
Confirmedusers, editor
2,857

edits