Template:Transformations infobox: Difference between revisions
From
(Created page with "{{#css: .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .infobox-title { font...") |
No edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 27: | Line 27: | ||
<div class="infobox-title">Transformation: {{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | <div class="infobox-title">Transformation: {{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | ||
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} | <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} | ||
<table>{{#if:{{{ | <table> | ||
<th> | {{#ifeq:{{{reversible}}} |true| <tr><th>Reusability</th><td>[[:Category:Transformations|<span style="color:green">Reversible</span>]]</td> | }} | ||
<td>{{{ | {{#ifeq:{{{reversible}}} |difficult| <tr><th>Reusability</th><td>[[:Category:Transformations|<span style="color:orange">Difficult</span>]]</td> | }} | ||
</tr>}}{{#if:{{{ | {{#ifeq:{{{reversible}}} |false| <tr><th>Reusability</th><td>[[:Category:Transformations|<span style="color:red">Non-Reversible</span>]]</td> | }} | ||
<th> | {{#if:{{{designers|}}}|<tr> | ||
<td>{{{ | <th>Designers: </th> | ||
<td>{{{designers}}}</td> | |||
</tr>}}{{#if:{{{dates|}}}|<tr> | |||
<th>Dates: </th> | |||
<td>{{{dates}}}</td> | |||
</tr>}}{{#if:{{{vitamins|}}}|<tr> | </tr>}}{{#if:{{{vitamins|}}}|<tr> | ||
<th>Vitamins: </th> | <th>Vitamins: </th> | ||
Line 51: | Line 55: | ||
<th>Techniques: </th> | <th>Techniques: </th> | ||
<td>{{{techniques}}}</td> | <td>{{{techniques}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{files|}}}|<tr> | ||
<th> | <th>Files: </th> | ||
<td>{{{ | <td>{{{files}}}</td> | ||
</tr>}}{{#if:{{{git|}}}|<tr> | </tr>}}{{#if:{{{git|}}}|<tr> | ||
<th>Github: </th> | <th>Github: </th> | ||
<td>{{{git}}}</td> | <td>{{{git}}}</td> | ||
</tr>}}{{#if:{{{sources|}}}|<tr> | |||
<th>Sources: </th> | |||
<td>{{{sources}}}</td> | |||
</tr>}}{{#if:{{{related|}}}|<tr> | |||
<th>Related: </th> | |||
<td>{{{related}}}</td> | |||
</tr>}}{{#if:{{{licenses|}}}|<tr> | |||
<th>Licenses: </th> | |||
<td>{{{licenses}}}</td> | |||
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> | ||
</span> | </span> | ||
<includeonly> | |||
[[Category:Transformations]] | [[Category:Transformations]] | ||
</includeonly> |
Latest revision as of 03:09, 31 October 2021
Transformation: Transformations infobox