User:Bongolium500/Sandbox 4: Difference between revisions
Bongolium500 (talk | contribs) No edit summary |
Neptune9095 (talk | contribs) (duplicate arguments in template) Tag: 2017 source edit |
||
(9 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
I can't test any of this but I think it would work. | I can't test any of this but I think it would work. | ||
== Dab Template | == Dab Template With SMW Integration == | ||
Dab template with SMW integration for dab searching. Intended to replace [[template:Dab page|Dab page]]. | Dab template with SMW integration for dab searching. Intended to replace [[template:Dab page|Dab page]]. | ||
<div id=dabtag style="margin-right:5px;{{#if:{{{clear|}}}|clear:left}}"><dl><dd style="text-indent:-10px;margin-right:10px"><span id="ss">''You may wish to consult <code>'''[[dab:{{{1|}}}]]'''</code> for other, similarly-named pages.''</span></dd></dl></div> | <div id=dabtag style="margin-right:5px;{{#if:{{{clear|}}}|clear:left}}"><dl><dd style="text-indent:-10px;margin-right:10px"><span id="ss">''You may wish to consult <code>'''[[dab::{{{1|}}}]]'''</code> for other, similarly-named pages.''</span></dd></dl></div> | ||
<pre><div id=dabtag style="margin-right:5px;{{#if:{{{clear|}}}|clear:left}}"><dl><dd style="text-indent:-10px;margin-right:10px"><span id="ss">''You may wish to consult <code>'''[[dab:{{{1|}}}]]'''</code> for other, similarly-named pages.''</span></dd></dl></div></pre> | |||
<pre><div id=dabtag style="margin-right:5px;{{#if:{{{clear|}}}|clear:left}}"><dl><dd style="text-indent:-10px;margin-right:10px"><span id="ss">''You may wish to consult <code>'''[[dab::{{{1|}}}]]'''</code> for other, similarly-named pages.''</span></dd></dl></div></pre> | |||
Used in the same way as [[template:Dab page|Dab page]]. | Used in the same way as [[template:Dab page|Dab page]]. | ||
=== Example Output: === | |||
<div id=dabtag style="margin-right:5px;{{#if:{{{clear|}}}|clear:left}}"><dl><dd style="text-indent:-10px;margin-right:10px"><span id="ss">''You may wish to consult <code>'''[[dab::Untitled]]'''</code> for other, similarly-named pages.''</span></dd></dl></div> | |||
== Simple Dab == | == Simple Automatically Updated Dab List == | ||
Produces a simple dab page when used in conjunction with the above. | Produces a simple dab page when used in conjunction with the above. | ||
{{#ask: [[dab::{{{1|}}}]] | {{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] | ||
|format=ul | |format=ul | ||
|limit=50 | |limit=50 | ||
Line 21: | Line 24: | ||
|valuesep=, | |valuesep=, | ||
}} | }} | ||
<pre>{{#ask: [[dab::{{{1|}}}]] | <pre>{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] | ||
|format=ul | |format=ul | ||
|limit=50 | |limit=50 | ||
Line 33: | Line 36: | ||
|valuesep=, | |valuesep=, | ||
}}</pre> | }}</pre> | ||
Takes one parameter, the dab term. Used on the dab page to generate a basic, automatically updated dab page. | Takes one parameter, the dab term. Defaults to the dab page's name which will be fine in basically all circumstances. Used on the dab page to generate a basic, automatically updated dab page. | ||
== Simple Collapsible Automatically Updated Dab List == | |||
Designed to be used at the bottom of dab pages. It requires [[#Dab Template with SMW integration|this]] to work. | |||
{{Navbox | |||
|name = <!--Needs deciding--> | |||
|title = Automatically updated {{{1|{{da|{{PAGENAME}}}}}}} disambiguation list | |||
|state = collapsed | |||
|above = This list is automatically updated. That way, it may be more up to date then the above. However, it isn't as easy to read and may include omissions when the template [[Template:Dab page|Dab page]] hasn't been correctly added. | |||
|list1 = | |||
<small>{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] | |||
|format=ul | |||
|offset=0 | |||
|limit={{NUMBEROFPAGES}} | |||
|link=all | |||
|sort= | |||
|order=asc | |||
|headers=show | |||
|searchlabel=... further results | |||
|propsep=, | |||
|valuesep=, | |||
}}</small> | |||
|below = To add a page to this list, simply add the template [[Template:Dab page|Dab page]] to it. | |||
}} | |||
<pre>{{Navbox | |||
|name = <!--Needs deciding--> | |||
|title = Automatically updated {{{1|{{da|{{PAGENAME}}}}}}} disambiguation list | |||
|state = collapsed | |||
|above = This list is automatically updated. That way, it may be more up to date then the above. However, it isn't as easy to read and may include omissions when the template [[Template:Dab page|Dab page]] hasn't been correctly added. | |||
|list1 = | |||
<small>{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] | |||
|format=ul | |||
|offset=0 | |||
|limit={{NUMBEROFPAGES}} | |||
|link=all | |||
|sort= | |||
|order=asc | |||
|headers=show | |||
|searchlabel=... further results | |||
|propsep=, | |||
|valuesep=, | |||
}}</small> | |||
|below = To add a page to this list, simply add the template [[Template:Dab page|Dab page]] to it. | |||
}}</pre> | |||
Takes one parameter, the dab term. Defaults to the dab page's name which will be fine in basically all circumstances. Used on the dab page to generate a basic, automatically updated dab list. | |||
== Slightly More Complex Collapsible Automatically Updated Dab List == | |||
Designed to be used at the bottom of dab pages. It has better formatting then the above. It requires [[#Dab Template with SMW integration|this]] to work. | |||
{{Navbox | |||
|name = <!--Needs deciding--> | |||
|title = Automatically updated {{{1|{{da|{{PAGENAME}}}}}}} disambiguation list | |||
|state = collapsed | |||
|above = This list is automatically updated. That way, it may be more up to date then the above. However, it isn't as easy to read and may include omissions when the template [[Template:Dab page|Dab page]] hasn't been correctly added. | |||
|list1 = | |||
{{navbox|child | |||
|group1 = [[Tardis:In-universe perspective|In Universe]] | |||
|groupwidth = 7em | |||
|list1 = | |||
<small>{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] [[Category:Time-Space Visualiser]] | |||
|format=ul | |||
|offset=0 | |||
|limit={{NUMBEROFPAGES}} | |||
|link=all | |||
|sort= | |||
|order=asc | |||
|headers=show | |||
|searchlabel=... further results | |||
|propsep=, | |||
|valuesep=, | |||
}}</small> | |||
|group2 = [[Tardis:Valid sources|Invalid]] | |||
|list2 = | |||
<small>{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] [[Category:Non-DWU material]] | |||
|format=ul | |||
|offset=0 | |||
|limit={{NUMBEROFPAGES}} | |||
|link=all | |||
|sort= | |||
|order=asc | |||
|headers=show | |||
|searchlabel=... further results | |||
|propsep=, | |||
|valuesep=, | |||
}}</small> | |||
|group3 = [[Tardis:Out-of-universe perspective|Real World]] | |||
|list3 = | |||
<small>{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] [[Category:Real world]] | |||
|format=ul | |||
|offset=0 | |||
|limit={{NUMBEROFPAGES}} | |||
|link=all | |||
|sort= | |||
|order=asc | |||
|headers=show | |||
|searchlabel=... further results | |||
|propsep=, | |||
|valuesep=, | |||
}}</small> | |||
|below = To add a page to this list, simply add the template [[Template:Dab page|Dab page]] to it. | |||
}} | |||
}} | |||
<pre>{{Navbox | |||
|name = <!--Needs deciding--> | |||
|title = Automatically updated {{{1|{{da|{{PAGENAME}}}}}}} disambiguation list | |||
|state = collapsed | |||
|above = This list is automatically updated. That way, it may be more up to date then the above. However, it isn't as easy to read and may include omissions when the template [[Template:Dab page|Dab page]] hasn't been correctly added. | |||
|list1 = | |||
{{navbox|child | |||
|group1 = [[Tardis:In-universe perspective|In Universe]] | |||
|groupwidth = 7em | |||
|list1 = | |||
<small>{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] [[Category:Time-Space Visualiser]] | |||
|format=ul | |||
|offset=0 | |||
|limit={{NUMBEROFPAGES}} | |||
|link=all | |||
|sort= | |||
|order=asc | |||
|headers=show | |||
|searchlabel=... further results | |||
|propsep=, | |||
|valuesep=, | |||
}}</small> | |||
|group2 = [[Tardis:Valid sources|Invalid]] | |||
|groupwidth = 7em | |||
|list2 = | |||
<small>{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] [[Category:Non-DWU material]] | |||
|format=ul | |||
|offset=0 | |||
|limit={{NUMBEROFPAGES}} | |||
|link=all | |||
|sort= | |||
|order=asc | |||
|headers=show | |||
|searchlabel=... further results | |||
|propsep=, | |||
|valuesep=, | |||
}}</small> | |||
|group3 = [[Tardis:Out-of-universe perspective|Real World]] | |||
|groupwidth = 7em | |||
|list3 = | |||
<small>{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] [[Category:Real world]] | |||
|format=ul | |||
|offset=0 | |||
|limit={{NUMBEROFPAGES}} | |||
|link=all | |||
|sort= | |||
|order=asc | |||
|headers=show | |||
|searchlabel=... further results | |||
|propsep=, | |||
|valuesep=, | |||
}}</small> | |||
|below = To add a page to this list, simply add the template [[Template:Dab page|Dab page]] to it. | |||
}} | |||
}}</pre> | |||
Takes one parameter, the dab term. Defaults to the dab page's name which will be fine in basically all circumstances. Used on the dab page to generate a slightly complex, automatically updated dab list. |
Latest revision as of 09:21, 3 June 2022
I can't test any of this but I think it would work.
Dab Template With SMW Integration[[edit] | [edit source]]
Dab template with SMW integration for dab searching. Intended to replace Dab page.
- You may wish to consult
'
for other, similarly-named pages.
<div id=dabtag style="margin-right:5px;{{#if:{{{clear|}}}|clear:left}}"><dl><dd style="text-indent:-10px;margin-right:10px"><span id="ss">''You may wish to consult <code>'''[[dab::{{{1|}}}]]'''</code> for other, similarly-named pages.''</span></dd></dl></div>
Used in the same way as Dab page.
Example Output:[[edit] | [edit source]]
- You may wish to consult
Untitled
for other, similarly-named pages.
Simple Automatically Updated Dab List[[edit] | [edit source]]
Produces a simple dab page when used in conjunction with the above.
{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] |format=ul |limit=50 |offset=0 |link=all |sort= |order=asc |headers=show |searchlabel=... further results |propsep=, |valuesep=, }}
Takes one parameter, the dab term. Defaults to the dab page's name which will be fine in basically all circumstances. Used on the dab page to generate a basic, automatically updated dab page.
Simple Collapsible Automatically Updated Dab List[[edit] | [edit source]]
Designed to be used at the bottom of dab pages. It requires this to work.
|
{{Navbox |name = <!--Needs deciding--> |title = Automatically updated {{{1|{{da|{{PAGENAME}}}}}}} disambiguation list |state = collapsed |above = This list is automatically updated. That way, it may be more up to date then the above. However, it isn't as easy to read and may include omissions when the template [[Template:Dab page|Dab page]] hasn't been correctly added. |list1 = <small>{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] |format=ul |offset=0 |limit={{NUMBEROFPAGES}} |link=all |sort= |order=asc |headers=show |searchlabel=... further results |propsep=, |valuesep=, }}</small> |below = To add a page to this list, simply add the template [[Template:Dab page|Dab page]] to it. }}
Takes one parameter, the dab term. Defaults to the dab page's name which will be fine in basically all circumstances. Used on the dab page to generate a basic, automatically updated dab list.
Slightly More Complex Collapsible Automatically Updated Dab List[[edit] | [edit source]]
Designed to be used at the bottom of dab pages. It has better formatting then the above. It requires this to work.
|
{{Navbox |name = <!--Needs deciding--> |title = Automatically updated {{{1|{{da|{{PAGENAME}}}}}}} disambiguation list |state = collapsed |above = This list is automatically updated. That way, it may be more up to date then the above. However, it isn't as easy to read and may include omissions when the template [[Template:Dab page|Dab page]] hasn't been correctly added. |list1 = {{navbox|child |group1 = [[Tardis:In-universe perspective|In Universe]] |groupwidth = 7em |list1 = <small>{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] [[Category:Time-Space Visualiser]] |format=ul |offset=0 |limit={{NUMBEROFPAGES}} |link=all |sort= |order=asc |headers=show |searchlabel=... further results |propsep=, |valuesep=, }}</small> |group2 = [[Tardis:Valid sources|Invalid]] |groupwidth = 7em |list2 = <small>{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] [[Category:Non-DWU material]] |format=ul |offset=0 |limit={{NUMBEROFPAGES}} |link=all |sort= |order=asc |headers=show |searchlabel=... further results |propsep=, |valuesep=, }}</small> |group3 = [[Tardis:Out-of-universe perspective|Real World]] |groupwidth = 7em |list3 = <small>{{#ask: [[dab::{{{1|{{PAGENAME}}}}}]] [[Category:Real world]] |format=ul |offset=0 |limit={{NUMBEROFPAGES}} |link=all |sort= |order=asc |headers=show |searchlabel=... further results |propsep=, |valuesep=, }}</small> |below = To add a page to this list, simply add the template [[Template:Dab page|Dab page]] to it. }} }}
Takes one parameter, the dab term. Defaults to the dab page's name which will be fine in basically all circumstances. Used on the dab page to generate a slightly complex, automatically updated dab list.