Difference between revisions of "Template:Portal category"

From blackwiki
Jump to navigation Jump to search
test>Sardanaphalus
(description before standard message)
test>Sardanaphalus
m (padding tweak)
Line 9: Line 9:
 
       <table style="margin:0;padding:0;" cellspacing="0" cellpadding="0">
 
       <table style="margin:0;padding:0;" cellspacing="0" cellpadding="0">
 
         <tr> <td style="vertical-align:middle;line-height:1.35em;"> A standard way to link an article to this portal is to add <!--
 
         <tr> <td style="vertical-align:middle;line-height:1.35em;"> A standard way to link an article to this portal is to add <!--
               --><code style="background:transparent;padding:0 0.2em;"><!--
+
               --><code style="background:transparent;padding:0 0.15em;"><!--
 
               -->{{((}}portal{{!}}<!--
 
               -->{{((}}portal{{!}}<!--
 
                   --><includeonly>{{{topic|{{str crop|{{BASEPAGENAME}}|7}}}}}<!-- (i.e. unless portal topic supplied as {{{topic}}}, assume this template transcluded on a page whose {{BASEPAGENAME}} matches "[Topic] portal" and derive topic by cropping its last seven characters (i.e. by cropping "[space]portal"))
 
                   --><includeonly>{{{topic|{{str crop|{{BASEPAGENAME}}|7}}}}}<!-- (i.e. unless portal topic supplied as {{{topic}}}, assume this template transcluded on a page whose {{BASEPAGENAME}} matches "[Topic] portal" and derive topic by cropping its last seven characters (i.e. by cropping "[space]portal"))

Revision as of 23:35, 13 July 2014

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

This template is meant to be placed at the top of pages for categories whose contents are related to portals (i.e. in Wikipedia's portal namespace). Their parent category is Category:Portals. See also Wikipedia:Avoid self-references.

Parameters (optional)

Script error: No such module "aligned table".

See also

Other category-header templates

  1. Numbered list item