User:Bongolium500/Sandbox 4: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
Bongolium500 (talk | contribs) No edit summary |
Bongolium500 (talk | contribs) |
||
Line 6: | Line 6: | ||
<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 Dab == |
Revision as of 16:31, 9 June 2021
I can't test any of this but I think it would work.
Dab Template with SMW intergration
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:
- You may wish to consult
Untitled
for other, similarly-named pages.
Simple Dab
Produces a simple dab page when used in conjunction with the above. The part "]]" of the query was not understood.</br>Results might not be as expected.
{{#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. Used on the dab page to generate a basic, automatically updated dab page.