https://wiki.alliedmods.net/index.php?title=Template:Hidden&feed=atom&action=history
Template:Hidden - Revision history
2024-03-29T00:14:18Z
Revision history for this page on the wiki
MediaWiki 1.31.6
https://wiki.alliedmods.net/index.php?title=Template:Hidden&diff=11023&oldid=prev
Arkshine: Removed partial link and adjusted link color
2020-06-09T13:44:06Z
<p>Removed partial link and adjusted link color</p>
<table class="diff diff-contentalign-left" 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: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 13:44, 9 June 2020</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'>−</td><td style="color: #222; 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><includeonly>{{ #ifeq: {{{contentonly|no}}} | no | {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | <!-- nothing --> | {{{header}}}&nbsp; }} }} | <!-- nothing --> }}<span role="button" class="mw-customtoggle-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }} <del class="diffchange diffchange-inline">plainlinks"</del>><del class="diffchange diffchange-inline">[//: </del>{{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | {{{header}}} | {{{label|⇅}}} }} | {{{label|⇅}}} }}<del class="diffchange diffchange-inline">]</del></span>{{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | &nbsp;{{{header}}} | <!-- nothing --> }} }} | <!-- nothing -->  }} | <!-- nothing --> }}{{ #ifeq: {{{labelonly|no}}} | no | <div data-expandtext="{{ #ifeq: {{{label|}}} | none | {{int:show}} | {{{label|⇅}}} }}" data-collapsetext="{{ #ifeq: {{{label|}}} | none | {{int:hide}} | {{{label|⇅}}} }}" class="mw-collapsible {{#ifeq: {{{state|collapsed}}} | collapsed | mw-collapsed| }} {{{contentclass|}}}" {{ #if: {{{contentcss|}}} | style={{{contentcss}}} | <!-- nothing --> }} id="mw-customcollapsible-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }}">{{ #ifeq: {{{contentonly|no}}} | yes | {{{header|}}} | <!-- nothing --> }}<div class="mw-collapsible-content">{{ #if: {{{content|}}} | {{{content}}} | {{ #if: {{{2|}}} | <!-- nothing --> | {{{1|}}} }} }}</div></div>| <!-- nothing --> }}</includeonly><noinclude>__TOC__</div></td><td class='diff-marker'>+</td><td style="color: #222; 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><includeonly>{{ #ifeq: {{{contentonly|no}}} | no | {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | <!-- nothing --> | {{{header}}}&nbsp; }} }} | <!-- nothing --> }}<span role="button<ins class="diffchange diffchange-inline">" style="color: #0645ad</ins>" class="mw-customtoggle-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }}>{{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | {{{header}}} | {{{label|⇅}}} }} | {{{label|⇅}}} }}</span>{{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | &nbsp;{{{header}}} | <!-- nothing --> }} }} | <!-- nothing -->  }} | <!-- nothing --> }}{{ #ifeq: {{{labelonly|no}}} | no | <div data-expandtext="{{ #ifeq: {{{label|}}} | none | {{int:show}} | {{{label|⇅}}} }}" data-collapsetext="{{ #ifeq: {{{label|}}} | none | {{int:hide}} | {{{label|⇅}}} }}" class="mw-collapsible {{#ifeq: {{{state|collapsed}}} | collapsed | mw-collapsed| }} {{{contentclass|}}}" {{ #if: {{{contentcss|}}} | style={{{contentcss}}} | <!-- nothing --> }} id="mw-customcollapsible-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }}">{{ #ifeq: {{{contentonly|no}}} | yes | {{{header|}}} | <!-- nothing --> }}<div class="mw-collapsible-content">{{ #if: {{{content|}}} | {{{content}}} | {{ #if: {{{2|}}} | <!-- nothing --> | {{{1|}}} }} }}</div></div>| <!-- nothing --> }}</includeonly><noinclude>__TOC__</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>== About ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>== About ==</div></td></tr>
</table>
Arkshine
https://wiki.alliedmods.net/index.php?title=Template:Hidden&diff=10379&oldid=prev
Arkshine at 19:02, 15 August 2017
2017-08-15T19:02:18Z
<p></p>
<table class="diff diff-contentalign-left" 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: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 19:02, 15 August 2017</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'>−</td><td style="color: #222; 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><includeonly>{{ #ifeq: {{{contentonly|no}}} | no | {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | <!-- nothing --> | {{{header}}}&nbsp; }} }} | <!-- nothing --> }}<span role="button" class="mw-customtoggle-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }} plainlinks">[//: {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | {{{header}}} | {{{label|⇅}}} }} | {{{label|⇅}}} }}]</span>{{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | &nbsp;{{{header}}} | <!-- nothing --> }} }} | <!-- nothing -->  }} | <!-- nothing --> }}{{ #ifeq: {{{labelonly|no}}} | no | <div data-expandtext="{{ #ifeq: {{{label|}}} | none | {{int:show}} | {{{label|⇅}}} }}" data-collapsetext="{{ #ifeq: {{{label|}}} | none | {{int:hide}} | {{{label|⇅}}} }}" class="mw-collapsible {{#ifeq: {{{state|collapsed}}} | collapsed | mw-collapsed| }} {{{contentclass|}}}" {{ #if: {{{contentcss|}}} | style={{{contentcss}}} | <!-- nothing --> }} id="mw-customcollapsible-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }}">{{ #ifeq: {{{contentonly|no}}} | yes | {{{header|}}} | <!-- nothing --> }}<div class="mw-collapsible-content">{{ #if: {{{content|}}} | {{{content}}} | {{ #if: {{{2|}}} | <!-- nothing --> | {{{1|}}} }} }}</div></div>| <!-- nothing --> }}</includeonly><del class="diffchange diffchange-inline">__TOC__</del><noinclude></div></td><td class='diff-marker'>+</td><td style="color: #222; 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><includeonly>{{ #ifeq: {{{contentonly|no}}} | no | {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | <!-- nothing --> | {{{header}}}&nbsp; }} }} | <!-- nothing --> }}<span role="button" class="mw-customtoggle-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }} plainlinks">[//: {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | {{{header}}} | {{{label|⇅}}} }} | {{{label|⇅}}} }}]</span>{{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | &nbsp;{{{header}}} | <!-- nothing --> }} }} | <!-- nothing -->  }} | <!-- nothing --> }}{{ #ifeq: {{{labelonly|no}}} | no | <div data-expandtext="{{ #ifeq: {{{label|}}} | none | {{int:show}} | {{{label|⇅}}} }}" data-collapsetext="{{ #ifeq: {{{label|}}} | none | {{int:hide}} | {{{label|⇅}}} }}" class="mw-collapsible {{#ifeq: {{{state|collapsed}}} | collapsed | mw-collapsed| }} {{{contentclass|}}}" {{ #if: {{{contentcss|}}} | style={{{contentcss}}} | <!-- nothing --> }} id="mw-customcollapsible-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }}">{{ #ifeq: {{{contentonly|no}}} | yes | {{{header|}}} | <!-- nothing --> }}<div class="mw-collapsible-content">{{ #if: {{{content|}}} | {{{content}}} | {{ #if: {{{2|}}} | <!-- nothing --> | {{{1|}}} }} }}</div></div>| <!-- nothing --> }}</includeonly><noinclude><ins class="diffchange diffchange-inline">__TOC__</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>== About ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>== About ==</div></td></tr>
</table>
Arkshine
https://wiki.alliedmods.net/index.php?title=Template:Hidden&diff=10378&oldid=prev
Arkshine at 14:27, 15 August 2017
2017-08-15T14:27:37Z
<p></p>
<table class="diff diff-contentalign-left" 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: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 14:27, 15 August 2017</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l60" >Line 60:</td>
<td colspan="2" class="diff-lineno">Line 60:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>  | {{tlc|hidden|id{{=}}last|contentonly{{=}}yes|label{{=}}none|content{{=}}Hidden text|contentclass{{=}}toccolours|contentcss{{=}}"overflow: auto;"}} {{pad}} || {{hidden|id=last|contentonly=yes|label=none|content=Hidden text|contentclass=toccolours|contentcss="overflow: auto;"}} || {{pad}} When you insert the content only, the toggle link is automatically generated from the javascript at the right, you can't control it. <br />{{pad}} To use the default text "show"/"hide", you can set {{tt|label}} to {{tt|none}}.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>  | {{tlc|hidden|id{{=}}last|contentonly{{=}}yes|label{{=}}none|content{{=}}Hidden text|contentclass{{=}}toccolours|contentcss{{=}}"overflow: auto;"}} {{pad}} || {{hidden|id=last|contentonly=yes|label=none|content=Hidden text|contentclass=toccolours|contentcss="overflow: auto;"}} || {{pad}} When you insert the content only, the toggle link is automatically generated from the javascript at the right, you can't control it. <br />{{pad}} To use the default text "show"/"hide", you can set {{tt|label}} to {{tt|none}}.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>  |-</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>  |-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; 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>  | {{tlc|hidden|id{{=}}last2|contentonly{{=}}yes|label{{=}}none|content{{=}}Hidden text}} {{pad}} || <del class="diffchange diffchange-inline"> </del>{{hidden|id=last2|contentonly=yes|label=none|content=Hidden text}} || {{pad}} Same as above, there is only the content and a default toggle link is generated unless you create your own link like <del class="diffchange diffchange-inline">here: </del>{{hidden|id=last2|label=click me|labelonly=yes}}</div></td><td class='diff-marker'>+</td><td style="color: #222; 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>  | {{tlc|hidden|id{{=}}last2|contentonly{{=}}yes|label{{=}}none|content{{=}}Hidden text}} {{pad}} || {{hidden|id=last2|contentonly=yes|label=none|content=Hidden text}} || {{pad}} Same as above, there is only the content and a default toggle link is generated unless you create your own link like <ins class="diffchange diffchange-inline">below. </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; 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 class="diffchange diffchange-inline"> |- </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; 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 class="diffchange diffchange-inline"> | {{tlc|hidden|id{{=}}last2|label{{=}}click me!|labelonly{{=}}yes}} {{pad}} || </ins>{{hidden|id=last2|label=click me<ins class="diffchange diffchange-inline">!</ins>|labelonly=yes}} <ins class="diffchange diffchange-inline">||  {{pad}} Custom link associated to the above hidden content.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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></noinclude></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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></noinclude></div></td></tr>
</table>
Arkshine
https://wiki.alliedmods.net/index.php?title=Template:Hidden&diff=10377&oldid=prev
Arkshine at 14:22, 15 August 2017
2017-08-15T14:22:16Z
<p></p>
<table class="diff diff-contentalign-left" 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: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 14:22, 15 August 2017</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'>−</td><td style="color: #222; 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><includeonly>{{ #ifeq: {{{contentonly|no}}} | no | {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | <!-- nothing --> | {{{header}}}&nbsp; }} }} | <!-- nothing --> }}<span role="button" class="mw-customtoggle-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }} plainlinks">[//: {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | {{{header}}} | {{{label|⇅}}} }} | {{{label|⇅}}} }}]</span>{{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | &nbsp;{{{header}}} | <!-- nothing --> }} }} | <!-- nothing -->  }} | <!-- nothing --> }}{{ #ifeq: {{{labelonly|no}}} | no | <div data-expandtext="{{ #ifeq: {{{label|}}} | none | {{int:show}} | {{{label|⇅}}} }}" data-collapsetext="{{ #ifeq: {{{label|}}} | none | {{int:hide}} | {{{label|⇅}}} }}" class="mw-collapsible {{#ifeq: {{{state|collapsed}}} | collapsed | mw-collapsed| }} {{{contentclass|}}}" {{ #if: {{{contentcss|}}} | style={{{contentcss}}} | <!-- nothing --> }} id="mw-customcollapsible-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }}">{{ #ifeq: {{{contentonly|no}}} | yes | {{{header|}}} | <!-- nothing --> }}<div class="mw-collapsible-content">{{ #if: {{{content|}}} | {{{content}}} | {{ #if: {{{2|}}} | <!-- nothing --> | {{{1|}}} }} }}</div></div>| <!-- nothing --> }}</includeonly><noinclude></div></td><td class='diff-marker'>+</td><td style="color: #222; 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><includeonly>{{ #ifeq: {{{contentonly|no}}} | no | {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | <!-- nothing --> | {{{header}}}&nbsp; }} }} | <!-- nothing --> }}<span role="button" class="mw-customtoggle-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }} plainlinks">[//: {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | {{{header}}} | {{{label|⇅}}} }} | {{{label|⇅}}} }}]</span>{{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | &nbsp;{{{header}}} | <!-- nothing --> }} }} | <!-- nothing -->  }} | <!-- nothing --> }}{{ #ifeq: {{{labelonly|no}}} | no | <div data-expandtext="{{ #ifeq: {{{label|}}} | none | {{int:show}} | {{{label|⇅}}} }}" data-collapsetext="{{ #ifeq: {{{label|}}} | none | {{int:hide}} | {{{label|⇅}}} }}" class="mw-collapsible {{#ifeq: {{{state|collapsed}}} | collapsed | mw-collapsed| }} {{{contentclass|}}}" {{ #if: {{{contentcss|}}} | style={{{contentcss}}} | <!-- nothing --> }} id="mw-customcollapsible-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }}">{{ #ifeq: {{{contentonly|no}}} | yes | {{{header|}}} | <!-- nothing --> }}<div class="mw-collapsible-content">{{ #if: {{{content|}}} | {{{content}}} | {{ #if: {{{2|}}} | <!-- nothing --> | {{{1|}}} }} }}</div></div>| <!-- nothing --> }}</includeonly><ins class="diffchange diffchange-inline">__TOC__</ins><noinclude></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>== About ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>== About ==</div></td></tr>
</table>
Arkshine
https://wiki.alliedmods.net/index.php?title=Template:Hidden&diff=10376&oldid=prev
Arkshine at 14:21, 15 August 2017
2017-08-15T14:21:27Z
<p></p>
<table class="diff diff-contentalign-left" 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: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 14:21, 15 August 2017</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l60" >Line 60:</td>
<td colspan="2" class="diff-lineno">Line 60:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>  | {{tlc|hidden|id{{=}}last|contentonly{{=}}yes|label{{=}}none|content{{=}}Hidden text|contentclass{{=}}toccolours|contentcss{{=}}"overflow: auto;"}} {{pad}} || {{hidden|id=last|contentonly=yes|label=none|content=Hidden text|contentclass=toccolours|contentcss="overflow: auto;"}} || {{pad}} When you insert the content only, the toggle link is automatically generated from the javascript at the right, you can't control it. <br />{{pad}} To use the default text "show"/"hide", you can set {{tt|label}} to {{tt|none}}.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>  | {{tlc|hidden|id{{=}}last|contentonly{{=}}yes|label{{=}}none|content{{=}}Hidden text|contentclass{{=}}toccolours|contentcss{{=}}"overflow: auto;"}} {{pad}} || {{hidden|id=last|contentonly=yes|label=none|content=Hidden text|contentclass=toccolours|contentcss="overflow: auto;"}} || {{pad}} When you insert the content only, the toggle link is automatically generated from the javascript at the right, you can't control it. <br />{{pad}} To use the default text "show"/"hide", you can set {{tt|label}} to {{tt|none}}.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>  |-</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>  |-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; 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>  | {{tlc|hidden|id{{=}}last2|contentonly{{=}}yes|label{{=}}none|content{{=}}Hidden text}} {{pad}} ||  {{hidden|id=last2|contentonly=yes|label=none|content=Hidden text}} || {{pad}} Same as above, there is only the content and a default toggle link is generated unless you create your own link like here: {{<del class="diffchange diffchange-inline">expand</del>|id=last2|label=click me|labelonly=yes}}</div></td><td class='diff-marker'>+</td><td style="color: #222; 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>  | {{tlc|hidden|id{{=}}last2|contentonly{{=}}yes|label{{=}}none|content{{=}}Hidden text}} {{pad}} ||  {{hidden|id=last2|contentonly=yes|label=none|content=Hidden text}} || {{pad}} Same as above, there is only the content and a default toggle link is generated unless you create your own link like here: {{<ins class="diffchange diffchange-inline">hidden</ins>|id=last2|label=click me|labelonly=yes}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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>|}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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></noinclude></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; 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></noinclude></div></td></tr>
</table>
Arkshine
https://wiki.alliedmods.net/index.php?title=Template:Hidden&diff=10375&oldid=prev
Arkshine: Created page with "<includeonly>{{ #ifeq: {{{contentonly|no}}} | no | {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | <!-- n..."
2017-08-15T14:21:00Z
<p>Created page with "<includeonly>{{ #ifeq: {{{contentonly|no}}} | no | {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | <!-- n..."</p>
<p><b>New page</b></p><div><includeonly>{{ #ifeq: {{{contentonly|no}}} | no | {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | <!-- nothing --> | {{{header}}}&nbsp; }} }} | <!-- nothing --> }}<span role="button" class="mw-customtoggle-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }} plainlinks">[//: {{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | {{{header}}} | {{{label|⇅}}} }} | {{{label|⇅}}} }}]</span>{{ #if: {{{header|}}} | {{ #ifeq: {{{label|⇅}}} | none | <!-- nothing --> | {{ #ifeq: {{{labelpos|right}}} | left | &nbsp;{{{header}}} | <!-- nothing --> }} }} | <!-- nothing --> }} | <!-- nothing --> }}{{ #ifeq: {{{labelonly|no}}} | no | <div data-expandtext="{{ #ifeq: {{{label|}}} | none | {{int:show}} | {{{label|⇅}}} }}" data-collapsetext="{{ #ifeq: {{{label|}}} | none | {{int:hide}} | {{{label|⇅}}} }}" class="mw-collapsible {{#ifeq: {{{state|collapsed}}} | collapsed | mw-collapsed| }} {{{contentclass|}}}" {{ #if: {{{contentcss|}}} | style={{{contentcss}}} | <!-- nothing --> }} id="mw-customcollapsible-{{ {{{|safesubst:}}}#if: {{{id|}}} | {{{id}}} | {{CURRENTTIMESTAMP}} }}">{{ #ifeq: {{{contentonly|no}}} | yes | {{{header|}}} | <!-- nothing --> }}<div class="mw-collapsible-content">{{ #if: {{{content|}}} | {{{content}}} | {{ #if: {{{2|}}} | <!-- nothing --> | {{{1|}}} }} }}</div></div>| <!-- nothing --> }}</includeonly><noinclude><br />
<br />
== About ==<br />
<br />
This is essentially a spoiler template. It allows you to hide a text which can be toggled with a link.<br /><br />
The template is based on [https://www.mediawiki.org/wiki/Manual:Collapsible_elements jQuery.makeCollapsible].<br />
<br />
== Usage ==<br />
<br />
{{tlc|'''hidden'''|{{texttip|id}}{{=}}''(optional)''|{{texttip|header}}{{=}}''(optional)''|{{texttip|label}}{{=}}''⇅''|{{texttip|labelpos}}{{=}}''right''|{{texttip|labelonly}}{{=}}''no''|{{texttip|content}}{{=}}''(optional)''|{{texttip|contentonly}}{{=}}''no''|{{texttip|contentclass}}{{=}}|{{texttip|contentcss}}{{=}}|{{texttip|state}}{{=}}''collapsed''}}<br />
<br />
{| class="wikitable"<br />
! Parameter || Default value || Description<br />
|-<br />
| {{tt|id}} || || Optional unique id across the page. <br />This is necessary to associate an hidden text to a specific toggle link. <br />If no {{tt|id}} provided, it will use the current unix timestamp.<br />
|-<br />
| {{tt|header}} || || Optional embded text. <br />If {{tt|label}} is defined as {{tt|none}}, it will act as the toggle link. <br />This can be useful if you need to insert a label at the left of the header.<br />
|-<br />
| {{tt|label}} || {{tt|⇅}} || Optional label text to act as the toggle link. <br />Use {{tt|none}} value to explicitly disable it.<br />
|- <br />
| {{tt|labelpos}} || {{tt|right}} || Optional label position. Values can be either {{tt|left}} or {{tt|right}}<br /> This is only useful if you need to show the label at the left of the {{tt|header}}.<br />
|-<br />
| {{tt|labelonly}} || {{tt|no}} || if {{tt|yes}}, it will insert only a label as toggle link. <br />This is useful if you need to separate the hidden content from the toggle link, see {{tt|contentonly}}.<br />
|-<br />
| {{tt|content}} || || Optional hidden text.<br />
|-<br />
| {{tt|contentonly}} || {{tt|no}} || if {{tt|yes}}, it will insert only the hidden content. <br />This is useful if you need to sperate the toggle link from the hidden content, see {{tt|labelonly}}.<br /> This also can be used to tell the template to not use a custom toggle link and therefore allowing a default link (from the jquery library) to be automatically inserted at the top right of the content.<br />
|-<br />
| {{tt|contentclass}} || || Optional for additional class(es) around the content.<br />
|-<br />
| {{tt|contentcss}} || || Optional for additional styles around the content.<br />
|-<br />
| {{tt|state}} || {{tt|collapsed}} || Whether the hidden content by default should be {{tt|collapsed}} or {{tt|expanded}}.<br />
|}<br />
<br />
== Examples ==<br />
<br />
<br />
{|<br />
! You type || You get || Comment<br />
|-<br />
| {{tlc|hidden|Hidden text}} {{pad}} || {{hidden|Hidden text}} || {{pad}} Only hidden text, without id. It should show only the default label.<br />
|-<br />
| Hello World! {{tlc|hidden|Hidden text}} {{pad}} || Hello World! {{hidden|Hidden text}} || {{pad}} Same as above. If you have multiple templates without id, any toogle links will work on all associated hidden texts.<br />
|- <br />
| {{tlc|hidden|id{{=}}42|content{{=}}Hidden text}} {{pad}} || {{hidden|id=42|content=Hidden text}} || {{pad}} With id. The behavior is the same as above.<br />
|-<br />
| Hello World! {{tlc|hidden|id{{=}}42|content{{=}}Hidden text}} {{pad}} || Hello World! {{hidden|id=42|content=Hidden text}} || {{pad}} With id. The behavior is the same as above.<br />
|-<br />
| {{tlc|hidden|id{{=}}h1|header{{=}}Embded text|content{{=}}Hidden text}} {{pad}} || {{hidden|id=h1|header=Embded text|content=Hidden text}} || {{pad}} Useful unless you need to change the label position or you want that header to be the toggle link.<br />
|-<br />
| {{tlc|hidden|id{{=}}h2|header{{=}}Embded text|labelpos{{=}}left|content{{=}}Hidden text}} {{pad}} || {{hidden|id=h2|header=embded text|labelpos=left|content=Hidden text}} || {{pad}} Changing label position to the left.<br />
|- <br />
| Random text {{tlc|hidden|id{{=}}lab1|label{{=}}(toggle)|content{{=}}Hidden text}} {{pad}} || Random text {{hidden|id=lab1|label=(toggle)|content=Hidden text}} || {{pad}} Changing the label name.<br />
|- <br />
| {{tlc|hidden|id{{=}}lab2|label{{=}}<nowiki[toggle]</nowiki|header{{=}}Random text||labelpos{{=}}left|content{{=}}Hidden text}} {{pad}} || {{hidden|id=lab2|label=<nowiki>[toggle]</nowiki>|header=Random text||labelpos=left|content=Hidden text}} || {{pad}} Changing the label name and its position to the left.<br />
|-<br />
| {{tlc|hidden|id{{=}}li|header{{=}}Lorem Ipsum|label{{=}}none|content{{=}}Hidden text}} {{pad}} || {{hidden|id=li|header=Lorem Ipsum|label=none|content=Hidden text}} || {{pad}} Making embded text as the toggle link.<br />
|-<br />
| {{tlc|hidden|id{{=}}last|contentonly{{=}}yes|label{{=}}none|content{{=}}Hidden text|contentclass{{=}}toccolours|contentcss{{=}}"overflow: auto;"}} {{pad}} || {{hidden|id=last|contentonly=yes|label=none|content=Hidden text|contentclass=toccolours|contentcss="overflow: auto;"}} || {{pad}} When you insert the content only, the toggle link is automatically generated from the javascript at the right, you can't control it. <br />{{pad}} To use the default text "show"/"hide", you can set {{tt|label}} to {{tt|none}}.<br />
|-<br />
| {{tlc|hidden|id{{=}}last2|contentonly{{=}}yes|label{{=}}none|content{{=}}Hidden text}} {{pad}} || {{hidden|id=last2|contentonly=yes|label=none|content=Hidden text}} || {{pad}} Same as above, there is only the content and a default toggle link is generated unless you create your own link like here: {{expand|id=last2|label=click me|labelonly=yes}}<br />
|}<br />
<br />
<br />
</noinclude></div>
Arkshine