https://wiki.industrial-craft.net/index.php?title=Template:InlineGrid&feed=atom&action=history
Template:InlineGrid - Revision history
2024-03-28T15:01:32Z
Revision history for this page on the wiki
MediaWiki 1.37.1
https://wiki.industrial-craft.net/index.php?title=Template:InlineGrid&diff=19211&oldid=prev
Deucexm: added arg5/6 to clean up/ease text and links, better examples with actual code
2016-12-12T09:42:35Z
<p>added arg5/6 to clean up/ease text and links, better examples with actual code</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:42, 12 December 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{#if: {{{1|}}}|<span class="tooltip" title="{{{2|{{{1}}}}}}">[[File:Grid {{{1}}}.png|{{{4|32}}}px|link={{#ifeq:{{{3|}}}|None||{{{3|{{{1}}}}}}}}|class=crafting-grid-image]]<<del style="font-weight: bold; text-decoration: none;">!--removed number code for now, percentages completely </del>{{#<del style="font-weight: bold; text-decoration: none;">if</del>: {{{<del style="font-weight: bold; text-decoration: none;">number</del>|}}} <del style="font-weight: bold; text-decoration: none;"> </del>|<del style="font-weight: bold; text-decoration: none;"><span class="secret-link crafting-grid-number"></del>{{#<del style="font-weight: bold; text-decoration: none;">ifeq</del>:{{{3|}}}<del style="font-weight: bold; text-decoration: none;">|None</del>|{{{<del style="font-weight: bold; text-decoration: none;">number</del>}}}<del style="font-weight: bold; text-decoration: none;">|[[</del>{{{<del style="font-weight: bold; text-decoration: none;">3</del>|{{{1}}}}}}{{!}}{{{<del style="font-weight: bold; text-decoration: none;">number</del>}}}]]}}<del style="font-weight: bold; text-decoration: none;"></span>}}--></span></del>|<!--Nothing has been provided-->}}<noinclude>===Simple documentation notes===</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{#if: {{{1|}}}|<ins style="font-weight: bold; text-decoration: none;">{{#ifeq: {{{5|}}}|fore|[[{{#if: {{{3|}}}|{{{3}}}{{!}}{{{6|{{{1}}}}}}|{{{1}}}{{!}}{{{6|{{{1}}}}}}}}]]&nbsp;|}}</ins><span class="tooltip" title="{{{2|{{{1}}}}}}">[[File:Grid {{{1}}}.png|{{{4|32}}}px|link={{#ifeq:{{{3|}}}|None||{{{3|{{{1}}}}}}}}|class=crafting-grid-image]]<<ins style="font-weight: bold; text-decoration: none;">/span></ins>{{#<ins style="font-weight: bold; text-decoration: none;">ifeq</ins>: {{{<ins style="font-weight: bold; text-decoration: none;">5</ins>|}}}|<ins style="font-weight: bold; text-decoration: none;">aft|&nbsp;[[</ins>{{#<ins style="font-weight: bold; text-decoration: none;">if</ins>: {{{3|}}}|{{{<ins style="font-weight: bold; text-decoration: none;">3}</ins>}<ins style="font-weight: bold; text-decoration: none;">}{{!</ins>}}{{{<ins style="font-weight: bold; text-decoration: none;">6</ins>|{{{1}}}<ins style="font-weight: bold; text-decoration: none;">}}}|{{{1</ins>}}}{{!}}{{{<ins style="font-weight: bold; text-decoration: none;">6|{{{1}}}}}</ins>}}}]]<ins style="font-weight: bold; text-decoration: none;">|</ins>}}|<!--Nothing has been provided-->}}<noinclude>===Simple documentation notes===</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">InGr or </del>InlineGrid basically copies Grid (and is an attempt to not be Gc-ing everything), but doesn't use the module, so everything is manual. The numbering is also stripped out (for now).</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''Template:</ins>InlineGrid<ins style="font-weight: bold; text-decoration: none;">''' </ins>basically copies Grid (and is an attempt to not be Gc-ing everything), but doesn't use the module, so everything is manual. The numbering is also stripped out (for now).</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Arg1 is the name, and maps to the image (and everything else unless specified).</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Arg1 is the name, and maps to the image (and everything else unless specified).</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Arg2 is the tooltip, include a \ for newline.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Arg2 is the tooltip, include a \ for newline.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Arg3 is the link - what to link to if not the default.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Arg3 is the link - what to link to if not the default.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* Arg4 is the size in pixels. (Comes before Arg3's first use in the code, but it's less commonly changed from the 32px default.)</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* Arg4 is the size in pixels. (Comes before Arg3's first use in the code, but it's less commonly changed from the 32px default<ins style="font-weight: bold; text-decoration: none;">. I guess</ins>.)</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">New features added 12 Dec 16:</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* Arg5 is how to style the accompanying text. Accepts 'fore' or 'aft' with text based on Arg1 and link on Arg1/3.</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* Arg6 is an override for the displayed text in case you don't like Arg1.</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Usage showing {{InlineGrid|Chest|Itembox 5000\This thing is a piece of junk}} inline functionality</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Infobox test, for upgrades</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Infobox</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Infobox</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|title=Macerator</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|title=Macerator</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l15">Line 15:</td>
<td colspan="2" class="diff-lineno">Line 15:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|invimage=Condenser</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|invimage=Condenser</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|upgrades={{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|upgrades={{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>}} </noinclude></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>}}</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Usage showing {{InlineGrid|Chest|Itembox 5000\This thing is a piece of junk}} inline functionality</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* <code>{{InlineGrid{{!}}Chest{{!}}Itembox 5000\This thing is a piece of junk}}</code></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Usage showing foretext {{InlineGrid|Chest|Itembox 5000\This thing is a piece of junk|Non-IC Items|5=fore}} with alt link</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* <code>{{InlineGrid{{!}}Chest{{!}}Itembox 5000\This thing is a piece of junk{{!}}Non-IC Items{{!}}5=fore}}</code></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Same foretext {{InlineGrid|Chest|Itembox 5000\This thing is a piece of junk|Non-IC Items|5=fore|6=NOPE}} with alt link, but text override too</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* <code>{{InlineGrid{{!}}Chest{{!}}Itembox 5000\This thing is a piece of junk{{!}}Non-IC Items{{!}}5=fore{{!}}6=NOPE}}</code></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Afttext, no alt link, text override: {{InlineGrid|Chest|5=aft|6=NEWTEXT}}</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* <code>{{InlineGrid{{!}}Chest{{!}}5=aft{{!}}6=NEWTEXT}}</code></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Infobox test, for upgrades (showing no forced break from divs since this uses spans) --></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"> </ins></noinclude></div></td></tr>
</table>
Deucexm
https://wiki.industrial-craft.net/index.php?title=Template:InlineGrid&diff=18944&oldid=prev
Deucexm: woo yeah it works (except for the numbers)
2016-12-01T23:24:53Z
<p>woo yeah it works (except for the numbers)</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 23:24, 1 December 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{#if: {{{<del style="font-weight: bold; text-decoration: none;">name</del>|}}}|<span class="tooltip" title="{{{<del style="font-weight: bold; text-decoration: none;">tooltip</del>|{{{<del style="font-weight: bold; text-decoration: none;">name</del>}}}}}}">[[File:Grid {{{<del style="font-weight: bold; text-decoration: none;">name</del>}}}.png|<del style="font-weight: bold; text-decoration: none;">32px</del>|link={{#ifeq:{{{<del style="font-weight: bold; text-decoration: none;">link</del>|}}}|None||{{{<del style="font-weight: bold; text-decoration: none;">link</del>|{{{<del style="font-weight: bold; text-decoration: none;">name</del>}}}}}}}}|class=crafting-grid-image]]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{#if: {{{<ins style="font-weight: bold; text-decoration: none;">1</ins>|}}}|<span class="tooltip" title="{{{<ins style="font-weight: bold; text-decoration: none;">2</ins>|{{{<ins style="font-weight: bold; text-decoration: none;">1</ins>}}}}}}">[[File:Grid {{{<ins style="font-weight: bold; text-decoration: none;">1</ins>}}}.png|<ins style="font-weight: bold; text-decoration: none;">{{{4|32}}}px</ins>|link={{#ifeq:{{{<ins style="font-weight: bold; text-decoration: none;">3</ins>|}}}|None||{{{<ins style="font-weight: bold; text-decoration: none;">3</ins>|{{{<ins style="font-weight: bold; text-decoration: none;">1</ins>}}}}}}}}|class=crafting-grid-image]]<ins style="font-weight: bold; text-decoration: none;"><!--removed number code for now, percentages completely </ins>{{#if: {{{number|}}} |<span class="secret-link crafting-grid-number">{{#ifeq:{{{<ins style="font-weight: bold; text-decoration: none;">3</ins>|}}}|None|{{{number}}}|[[{{{<ins style="font-weight: bold; text-decoration: none;">3</ins>|{{{<ins style="font-weight: bold; text-decoration: none;">1</ins>}}}}}}{{!}}{{{number}}}]]}}</span>}}<ins style="font-weight: bold; text-decoration: none;">--></ins></span>|<!--Nothing has been provided-->}}<noinclude><ins style="font-weight: bold; text-decoration: none;">===Simple documentation notes===</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{#if: {{{number|}}} |<span class="secret-link <del style="font-weight: bold; text-decoration: none;">{{#if: {{{percent|}}} | crafting-grid-percentage | </del>crafting-grid-number<del style="font-weight: bold; text-decoration: none;">}}</del>">{{#ifeq:{{{<del style="font-weight: bold; text-decoration: none;">link</del>|}}}|None|{{{number}<del style="font-weight: bold; text-decoration: none;">}}{{#if: {{{percent|}}} | %</del>}}|[[{{{<del style="font-weight: bold; text-decoration: none;">link</del>|{{{<del style="font-weight: bold; text-decoration: none;">name</del>}}}}}}{{!}}{{{number}<del style="font-weight: bold; text-decoration: none;">}}{{#if: {{{percent|}}} | %</del>}}]]}}</span>}}</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div></span>|<!--Nothing has been provided-->}}<noinclude></noinclude></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">InGr or InlineGrid basically copies Grid (and is an attempt to not be Gc-ing everything), but doesn't use the module, so everything is manual. The numbering is also stripped out (for now).</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* Arg1 is the name, and maps to the image (and everything else unless specified).</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* Arg2 is the tooltip, include a \ for newline.</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* Arg3 is the link - what to link to if not the default.</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* Arg4 is the size in pixels. (Comes before Arg3's first use in the code, but it's less commonly changed from the 32px default.)</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Usage showing {{InlineGrid|Chest|Itembox 5000\This thing is a piece of junk}} inline functionality</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Infobox test, for upgrades</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{Infobox</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">|title=Macerator</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">|image=Compressor ig.png</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">|invimage=Condenser</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">|upgrades={{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}{{InlineGrid|Overclocker upgrade}}{{InlineGrid|Transformer upgrade}}</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">}} </ins></noinclude></div></td></tr>
</table>
Deucexm
https://wiki.industrial-craft.net/index.php?title=Template:InlineGrid&diff=18943&oldid=prev
Deucexm at 21:38, 1 December 2016
2016-12-01T21:38:30Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 21:38, 1 December 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{#if: {{{name|}}}|<del style="font-weight: bold; text-decoration: none;"><span </del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{#if: {{{name|}}}|<span class="tooltip" title="{{{tooltip|{{{name}}}}}}">[[File:Grid {{{name}}}.png|32px|link={{#ifeq:{{{link|}}}|None||{{{link|{{{name}}}}}}}}|class=crafting-grid-image]]</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">class="crafting-grid-div"</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">></del><span class="tooltip" title="{{{tooltip|{{{name}}}}}}">[[File:Grid {{{name}}}.png|32px|link={{#ifeq:{{{link|}}}|None||{{{link|{{{name}}}}}}}}|class=crafting-grid-image]]</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{#if: {{{number|}}} |<span class="secret-link {{#if: {{{percent|}}} | crafting-grid-percentage | crafting-grid-number}}">{{#ifeq:{{{link|}}}|None|{{{number}}}{{#if: {{{percent|}}} | %}}|[[{{{link|{{{name}}}}}}{{!}}{{{number}}}{{#if: {{{percent|}}} | %}}]]}}</span>}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{#if: {{{number|}}} |<span class="secret-link {{#if: {{{percent|}}} | crafting-grid-percentage | crafting-grid-number}}">{{#ifeq:{{{link|}}}|None|{{{number}}}{{#if: {{{percent|}}} | %}}|[[{{{link|{{{name}}}}}}{{!}}{{{number}}}{{#if: {{{percent|}}} | %}}]]}}</span>}}</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></span></del></span>|<!--Nothing has been provided-->}}<noinclude></noinclude></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></span>|<!--Nothing has been provided-->}}<noinclude></noinclude></div></td></tr>
</table>
Deucexm
https://wiki.industrial-craft.net/index.php?title=Template:InlineGrid&diff=18942&oldid=prev
Deucexm: Testing out an idea
2016-12-01T21:37:15Z
<p>Testing out an idea</p>
<p><b>New page</b></p><div>{{#if: {{{name|}}}|<span <br />
class="crafting-grid-div"<br />
><span class="tooltip" title="{{{tooltip|{{{name}}}}}}">[[File:Grid {{{name}}}.png|32px|link={{#ifeq:{{{link|}}}|None||{{{link|{{{name}}}}}}}}|class=crafting-grid-image]]<br />
{{#if: {{{number|}}} |<span class="secret-link {{#if: {{{percent|}}} | crafting-grid-percentage | crafting-grid-number}}">{{#ifeq:{{{link|}}}|None|{{{number}}}{{#if: {{{percent|}}} | %}}|[[{{{link|{{{name}}}}}}{{!}}{{{number}}}{{#if: {{{percent|}}} | %}}]]}}</span>}}<br />
</span></span>|<!--Nothing has been provided-->}}<noinclude></noinclude></div>
Deucexm