Template:Category tree two: Difference between revisions
Appearance
Content deleted Content added
John Cline (talk | contribs) ce |
John Cline (talk | contribs) ce, remove obsolete html |
||
Line 3: | Line 3: | ||
--><th scope="col" style="width:50%;"><!-- |
--><th scope="col" style="width:50%;"><!-- |
||
--> |
--> {{Purge|Category 1}}<br />{{#if:{{{1|}}}|''{{{1}}}''|}}</th><!-- |
||
--><th scope="col" style="width:50%;"><!-- |
--><th scope="col" style="width:50%;"><!-- |
||
--> {{ |
--> {{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;"><!-- |
||
--> |
--> |
||
⚫ | |||
<center> |
|||
⚫ | |||
! <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 "►" }}}</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 "►" }}}</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}}} }} |
||
|} |
|}</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;"><!-- |
||
--> |
--> |
||
⚫ | |||
<center> |
|||
⚫ | |||
! <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 "►" }}}</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 "►" }}}</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}}} }} |
||
|} |
|}</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
| | ||||
---|---|---|---|---|---|
|
| ||||
Usage
[edit]Using {{Category tree two|Record producers|Record producer stubs|mode=pages}} produces:
Record producers | Record producer stubs | ||||
---|---|---|---|---|---|
|
| ||||