Difference between revisions of "Template:Broad-concept article footer"

From blackwiki
Jump to navigation Jump to search
imported>Daask
(Copied from Template:Disambiguation - See that page history for attribution)
 
imported>UnitedStatesian
(rm sd)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Dmbox
+
<templatestyles src="Dmbox/styles.css" />
| type = disambig
+
<table id="bcabox" class="metadata dmbox {{{class|}}}" style="{{{style|}}}" role="presentation">
| text = <includeonly>{{#if:{{{nocat|}}}||{{Disambiguation page short description}}}}</includeonly>This [[Help:Disambiguation|disambiguation]] page lists {{{type|{{#if:{{{ignore_parentheses|}}}||{{Title disambig text|{{trim|{{Str rep|{{{page-title|{{FULLPAGENAME}}}}}|(disambiguation)|}}}}}}}}}}} <includeonly>{{template other|templates|</includeonly>articles<includeonly>}}</includeonly> associated with the title '''{{#if:{{{ignore_parentheses|}}}|{{{page-title|{{FULLPAGENAME}}}}}|{{PAGENAMEBASE|{{{page-title|{{FULLPAGENAME}}}}}}}}}'''. <br /> <small>If an [{{fullurl:Special:WhatLinksHere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point directly to the intended article.</small>
+
<tr>
| nocat = {{{nocat|}}}  <!--So "nocat=true" works-->
+
{{#if:{{{image|}}}
}}{{main other
+
  |<td class="mbox-image" style="padding: 2px 0 2px 0.4em;">{{{image}}}</td>
| demospace = {{{demospace|}}}
+
  |<!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
| [[Category:Disambiguation pages]]{{disambiguation/cat|{{{1|}}}}}{{disambiguation/cat|{{{2|}}}}}{{disambiguation/cat|{{{3|}}}}}{{disambiguation/cat|{{{4|}}}}}{{disambiguation/cat|{{{5|}}}}}{{disambiguation/cat|{{{6|}}}}}{{disambiguation/cat|{{{7|}}}}}{{disambiguation/cat|{{{8|}}}}}{{disambiguation/cat|{{{9|}}}}}{{disambiguation/cat|{{{10|}}}}}{{#if:{{Title disambig text|{{trim|{{Str rep|{{FULLPAGENAME}}|(disambiguation)|}}}}}}|[[Category:Disambiguation pages with (qualified) titles]]|}}
+
}}
| <!-- Don't categorise when not in main (article) space. However, note that {{Dmbox}} categorises pages into Category:All disambiguation pages and Category:All article disambiguation pages-->
+
<td class="mbox-text" style="padding: 0.25em 0.4em; font-style: italic; {{{textstyle|}}}"><includeonly>{{yesno|{{{nocat|{{main other|no|yes}}}}}|yes=|no=[[Category:Broad-concept articles]]|def={{error|{{PAGENAME}} {{param|nocat}} should be a yes or no value.}}<br />}}</includeonly>This is a [[Wikipedia:Broad-concept article|Broad-concept article]]. <br /> <small class="plainlinks">If an [{{fullurl:Special:WhatLinksHere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point to one of the related topics mentioned here.</small></td>
}}<includeonly>{{#if:{{{nocat|}}}||{{#ifeq:{{#invoke:redirect|isRedirect|{{TALKPAGENAME}}}}|yes|[[Category:Unsynchronized disambiguation talk pages]]}}}}</includeonly><noinclude>
+
{{#if:{{{imageright|}}}
 +
| <td class="mbox-imageright" style="padding: 2px 0.4em 2px 0;"> {{{imageright}}} </td>
 +
}}
 +
</tr>
 +
</table><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! -->
 
<!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 17:30, 21 May 2019

Template documentation[view] [edit] [history] [purge]

Usage

{{Broad-concept article footer}}