Difference between revisions of "Template:WpPage"

From Wikispooks
Jump to navigation Jump to search
(Fix category link)
(table for main 2 links)
Line 26: Line 26:
 
}}
 
}}
 
</pre>
 
</pre>
Edit the page to see the template text.</noinclude><includeonly>{{WpBadge}}{{#if: {{{WpIntro|}}} |{{{WpIntro|}}}<br/>|}}{{#if: {{{WsLink0|}}} | [[file:WsIcon32.png|24px]] <!--[https://www.WikiSpooks.com/{{{WsLink0}}} https://wikispooks.com/w/images/7/7b/WsIcon32.png] --> [[{{{WsLink0}}}| <big><big>'''{{{WsLink0}}}'''<!-- - Main Wikispooks Page--></big></big><br/>]]}}
+
Edit the page to see the template text.</noinclude><includeonly>{{WpBadge}}{{#if: {{{WpIntro|}}} |{{{WpIntro|}}}<br/>|}}
[[file:WpIcon32.png|24px]] <big><big>'''[{{{WpURL}}} <font color="black">{{PAGENAME}}</font>]'''</big></big><br/>
+
 
 +
{| style="width: 16em; text-align:center; font-size: 160%; border: 1px solid #aaaaaa; background-color: #DFDFFF; color: black; margin-bottom: 0.5em;  margin-left: 1em; padding: 0.2em; float: right; clear: right;"
 +
|-
 +
| {{#if: {{{WsLink0|}}} | [[file:WsIcon32.png|24px]] <!--[https://www.WikiSpooks.com/{{{WsLink0}}} https://wikispooks.com/w/images/7/7b/WsIcon32.png] --> [[{{{WsLink0}}}| '''{{{WsLink0}}}'''<!-- - Main Wikispooks Page-->]]}}
 +
| [[file:WpIcon32.png|24px]] '''[{{{WpURL}}} <font color="black">{{PAGENAME}}</font>]'''
 +
|}
 +
 
 
=={{#if: {{{WsLink0|}}} |Other links|Links}} relevant to "''{{PAGENAME}}"''==
 
=={{#if: {{{WsLink0|}}} |Other links|Links}} relevant to "''{{PAGENAME}}"''==
 
{{#if: {{{WsLink1|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink1|}}}]]</b> {{{WsLink1Desc|}}}<br/>}}
 
{{#if: {{{WsLink1|}}} |[[file:WsIcon32.png|16px]] <b>[[WpNsRelatedPage::{{{WsLink1|}}}]]</b> {{{WsLink1Desc|}}}<br/>}}

Revision as of 07:20, 7 August 2011


This is the "WpPage" template. It is for use on pages which report Wikipedia pages with the same name and requires the Wikipedia PageName and URL. All such pages are in the 'Wikipedia' namespace and belong to the category 'WpPages'. It should be called in the following format:

{{WpPage
|WpPageName=
|WpURL= Wikipedia URL (Required)
|WpIntro=
|WsLink0= The Main WS Page (Recommended)
|WsLink1=
|WsLink1Desc=
|WsLink2=
|WsLink2Desc=
|WsLink3=
|WsLink3Desc=
|ExLink1=
|ExLink1Name=
|ExLink1Desc=
|ExLink2=
|ExLink2Name=
|ExLink2Desc=
|ExLink3=
|ExLink3Name=
|ExLink3Desc=
}}

Edit the page to see the template text.