Difference between revisions of "Template:Portal talk/sandbox"

From blackwiki
Jump to navigation Jump to search
test>Funandtrvl
(sync)
test>Funandtrvl
(tst)
Line 10: Line 10:
 
''For a discussion about portals in general, please see: '''[[Wikipedia:WikiProject Portals|'''WikiProject Portals''']]''.
 
''For a discussion about portals in general, please see: '''[[Wikipedia:WikiProject Portals|'''WikiProject Portals''']]''.
 
</div>
 
</div>
{{#ifeq:{{{noarchive|}}}|<!-- nothing -->|{{#ifexist: {{FULLPAGENAME}}/Archive 1|<hr>'''[[Help:Archiving a talk page|Archives]]''': {{#ifexist: {{FULLPAGENAME}}/Archive index|[[{{FULLPAGENAME}}/Archive index|Index]],&nbsp;|<!-- nothing -->}}{{Archive list|nobr=yes|root={{FULLPAGENAME}}}}|<!-- nothing -->}}}}
+
{{#if:{{{noarchive|{{{noarchives|}}}}}}||{{#ifexist:{{FULLPAGENAME}}/Archive 1|
 +
<tr><td colspan=4 style="text-align: center; border-top: 1px solid #c0c090; padding: 1px 3px">'''[[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}}}}</td>
 +
</tr>
 +
}}
 +
}}
 +
{{#if:{{#ifexist:{{FULLPAGENAME}}/Archive 1|y}}{{#ifexist:{{FULLPAGENAME}}/Archive A|y}}{{{search|}}}|{{#ifeq:{{{search|}}}|no||
 +
<tr><td colspan=4 style="text-align: center; border-top: 1px solid #c0c090; padding: 0">{{search box|root={{FULLPAGENAME}}|search-break=no|search-width=auto|search-button-label=Search archives}}</td>
 +
</tr>
 +
}}
 +
}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 20:54, 26 July 2012

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

Usage

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

See also