Difference between revisions of "Template:Portal talk"

From blackwiki
Jump to navigation Jump to search
test>Evad37
(Reduce overall size of box, by reducing excessive whitespace and using a smaller font size for the Wikiproject-related text. Also changed archives layout from table elements to div elements.)
test>Evad37
(remove negative margin, since that value was skin-specific)
Line 8: Line 8:
 
{{#if:{{{noarchive|{{{noarchives|}}}}}}||{{#ifexist:{{FULLPAGENAME}}/Archive 1|<div style="border-top: 1px solid #c0c090; width: 100%;padding-top:0.3em">
 
{{#if:{{{noarchive|{{{noarchives|}}}}}}||{{#ifexist:{{FULLPAGENAME}}/Archive 1|<div style="border-top: 1px solid #c0c090; width: 100%;padding-top:0.3em">
 
'''[[Help: Archiving a talk page|Archives]]''': {{#ifexist:{{FULLPAGENAME}}/Archive index|[[{{FULLPAGENAME}}/Archive index|Index]],&#32;}}{{#ifexist:{{FULLPAGENAME}}/Archive A|{{Archive list alpha|nobr=yes|root={{FULLPAGENAME}}}},&#32;|}}{{Archive list|nobr=yes|root={{FULLPAGENAME}}}}}}}}<!--
 
'''[[Help: Archiving a talk page|Archives]]''': {{#ifexist:{{FULLPAGENAME}}/Archive index|[[{{FULLPAGENAME}}/Archive index|Index]],&#32;}}{{#ifexist:{{FULLPAGENAME}}/Archive A|{{Archive list alpha|nobr=yes|root={{FULLPAGENAME}}}},&#32;|}}{{Archive list|nobr=yes|root={{FULLPAGENAME}}}}}}}}<!--
-->{{#if:{{#ifexist:{{FULLPAGENAME}}/Archive 1|y}}{{#ifexist:{{FULLPAGENAME}}/Archive A|y}}{{{search|}}}|{{#ifeq:{{{search|}}}|no||<div style="margin:-0.8em 0">{{search box|root={{FULLPAGENAME}}|search-break=no|search-width=auto|search-button-label=Search archives}}</div>}}
+
-->{{#if:{{#ifexist:{{FULLPAGENAME}}/Archive 1|y}}{{#ifexist:{{FULLPAGENAME}}/Archive A|y}}{{{search|}}}|{{#ifeq:{{{search|}}}|no||{{search box|root={{FULLPAGENAME}}|search-break=no|search-width=auto|search-button-label=Search archives}}}}
 
}}
 
}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 08:12, 11 June 2018

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

Usage

Basic
{{portal talk}}
With optional parameters
{{portal talk
 |noarchive =
 |search =
 |small =
}}

See also