Jump to content

Template:Category tree two: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
ce
ce, remove obsolete html
 
Line 3: Line 3:
--><th scope="col" style="width:50%;"><!--
--><th scope="col" style="width:50%;"><!--


--> <nowiki>{{</nowiki>{{Purge|Ct1}}<nowiki>}}</nowiki><br />{{#if:{{{1|}}}|''{{{1}}}''|}}</th><!--
--> {{Purge|Category 1}}<br />{{#if:{{{1|}}}|''{{{1}}}''|}}</th><!--


--><th scope="col" style="width:50%;"><!--
--><th scope="col" style="width:50%;"><!--


--> {{tl|Ct2}}<br />{{#if:{{{2|}}}|''{{{2}}}''|}}</th><tr><!--
--> {{Purge|Category 2}}<br />{{#if:{{{2|}}}|''{{{2}}}''|}}</th><tr><!--


--><td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid solid none solid;border-color:#ddd; padding:5px; vertical-align:top;"><!--
--><td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid solid none solid;border-color:#ddd; padding:5px; vertical-align:top;"><!--
-->
-->
{| class="toc" {{#ifeq:{{{alignright|}}}|yes|align="right"}} style="{{#ifeq:{{{rounded|}}}|yes|{{border-radius|10px}};|}} width:{{{width}}}; margin-left:auto; margin-right:auto; border:none;"
<center>
{| class="toc" {{#ifeq:{{{alignright|}}}|yes|align="right"}} style="{{#ifeq:{{{rounded|}}}|yes|{{border-radius|10px}}}} width: {{{width}}}"
! <div style="text-align:left;">{{{header|To ''show'' or ''hide'' all {{#ifeq: {{{mode|categories}}} | categories | subcategories | }}{{#ifeq: {{{mode|}}} | pages | pages | }}{{#ifeq: {{{mode|}}} | all | pages, subcategories and images | }}{{#ifeq: {{{mode|}}} | parents | parents | }} click&nbsp;"►" }}}</div>
! <div style="text-align:left;">{{{header|To ''show'' or ''hide'' all {{#ifeq: {{{mode|categories}}} | categories | subcategories | }}{{#ifeq: {{{mode|}}} | pages | pages | }}{{#ifeq: {{{mode|}}} | all | pages, subcategories and images | }}{{#ifeq: {{{mode|}}} | parents | parents | }} click&nbsp;"►" }}}</div>
|-
|-
| {{#tag: categorytree| {{{1|}}} |mode={{{mode|}}} |depth={{{depth|0}}} |hideroot={{{hideroot|off}}} |showcount={{{showcount|on}}} }}
| {{#tag: categorytree| {{{1|}}} |mode={{{mode|}}} |depth={{{depth|0}}} |hideroot={{{hideroot|off}}} |showcount={{{showcount|on}}} }}
|}</center></td><!--
|}</td><!--


--><td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid solid none solid;border-color:#ddd; padding:5px; vertical-align:top;"><!--
--><td style="width:50%; background:#f9f9f9; border-width:1px;border-style:solid solid none solid;border-color:#ddd; padding:5px; vertical-align:top;"><!--
-->
-->
{| class="toc" {{#ifeq:{{{alignright|}}}|yes|align="right"}} style="{{#ifeq:{{{rounded|}}}|yes|{{border-radius|10px}}|}} width:{{{width}}}; margin-left:auto; margin-right:auto; border:none;"
<center>
{| class="toc" {{#ifeq:{{{alignright|}}}|yes|align="right"}} style="{{#ifeq:{{{rounded|}}}|yes|{{border-radius|10px}}}} width: {{{width}}}"
! <div style="text-align:left;">{{{header|To ''show'' or ''hide'' all {{#ifeq: {{{mode|categories}}} | categories | subcategories | }}{{#ifeq: {{{mode|}}} | pages | pages | }}{{#ifeq: {{{mode|}}} | all | pages, subcategories and images | }}{{#ifeq: {{{mode|}}} | parents | parents | }} click&nbsp;"►" }}}</div>
! <div style="text-align:left;">{{{header|To ''show'' or ''hide'' all {{#ifeq: {{{mode|categories}}} | categories | subcategories | }}{{#ifeq: {{{mode|}}} | pages | pages | }}{{#ifeq: {{{mode|}}} | all | pages, subcategories and images | }}{{#ifeq: {{{mode|}}} | parents | parents | }} click&nbsp;"►" }}}</div>
|-
|-
| {{#tag: categorytree| {{{2|}}} |mode={{{mode|}}} |depth={{{depth|0}}} |hideroot={{{hideroot|off}}} |showcount={{{showcount|on}}} }}
| {{#tag: categorytree| {{{2|}}} |mode={{{mode|}}} |depth={{{depth|0}}} |hideroot={{{hideroot|off}}} |showcount={{{showcount|on}}} }}
|}</center></td></tr><!--
|}</td></tr><!--


--><tr style="width:50%; border-width:1px;border-style:solid none none none;border-color:#ddd; padding:5px; vertical-align:top;"><!--
--><tr style="width:50%; border-width:1px;border-style:solid none none none;border-color:#ddd; padding:5px; vertical-align:top;"><!--

Latest revision as of 08:05, 4 May 2018

Category 1
Category 2
To show or hide all subcategories click "►"
To show or hide all subcategories click "►"