Template:Portal: Difference between revisions

From EunuchWiki
imported>MarioMario456
Protected "Template:Portal": Because I want to ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
Line 1: Line 1:
<noinclude>{{info|This is a meta-template and should only be transcluded from other [[:Category:Portal Templates|portal templates]].}}</noinclude><div style="clear:both;"></div>
<includeonly>{{#invoke:Portal|portal}}</includeonly><noinclude>
{|style="width: 60%; margin: 0.5em auto; background-color: #FFFFFF; border: 5px double #9DA8B0" cellspacing="5"
{{documentation}}
|-
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata -->
|[[File:{{{1}}}|100px|link={{{2}}}]]
|style="text-align: center;"|
<p style="font-size:1.5em; line-height:1em;">'''{{PAGENAME}}''' is part of a series on</p>
<p style="font-size:3em; line-height:.5em;">'''[[{{{2}}}]]'''</p>
<p style="font-size:1.2em; line-height:.5em;">Visit the '''[[Portal:{{{3|{{{2}}}}}}|{{{3|{{{2}}}}}} Portal]]''' for complete coverage.</p>
|}
<div style="clear:both;"></div><noinclude>
 
== Usage ==
 
{{info|Categories must be added manually.}}
 
=== Plain ===
 
As used in [[Template:Ytseries]]
 
<nowiki>{{portal|Portal yt.png|YouTube}}</nowiki>
 
{{portal|Portal yt.png|YouTube}}
 
=== Sub-series ===
 
As used in [[Template:Chanology]]
 
<nowiki>{{portal|Portal chanology.png|Project Chanology|Anonymous}}</nowiki>
 
{{portal|Portal chanology.png|Project Chanology|Anonymous}}
 
=== Odd page names ===
 
For example, with pages [[eBay]] and [[b/|/b/]] use:
 
<nowiki>{{sites|title=eBay}}</nowiki> and <nowiki>{{chans|title=/b/}}</nowiki>
 
so on the template it doesn't display as "EBay" and "B/"
 
== See also ==
 
* [[Template:Portals]]
 
[[Category:Portal Templates]]
</noinclude>
</noinclude>

Revision as of 16:46, 20 February 2022