Difference between revisions of "Template:WpPage"
Jump to navigation
Jump to search
(WP URLs musn't HAVE spaces in them. URLs never contain spaces!) |
(Stub parameter) |
||
Line 9: | Line 9: | ||
|WpIntro= | |WpIntro= | ||
|WsLink0= The Main WS Page (Recommended) | |WsLink0= The Main WS Page (Recommended) | ||
+ | |Stub=1 (Optional stub marker) | ||
|WsLink1= | |WsLink1= | ||
|WsLink1Desc= | |WsLink1Desc= | ||
Line 31: | Line 32: | ||
{| style="text-align:center; font-size: 166%; color: black; margin-bottom: 0em; margin-right: 0.66em; float:left;" | {| style="text-align:center; font-size: 166%; color: black; margin-bottom: 0em; margin-right: 0.66em; float:left;" | ||
|- | |- | ||
− | | {{#if: {{{WsLink0|}}} |style="background-color: #DFDFFF; border: 1px solid #aaaaaa; padding: 0.4em; "|}} | {{#if: {{{WsLink0|}}} | [[Image:WsIcon32.png| | + | | {{#if: {{{WsLink0|}}} |style="background-color: #DFDFFF; border: 1px solid #aaaaaa; padding: 0.4em; "|}} | {{#if: {{{WsLink0|}}} | [[Image:WsIcon32.png|28px |link={{{WsLink0}}} |alt={{{WsLink0}}}]][[{{{WsLink0}}}]]|}} |
− | |style="border: 1px solid #aaaaaa; padding: 0.4em; "| [[Image:WsIcon32.png| | + | |style="border: 1px solid #aaaaaa; padding: 0.4em; "| [[Image:WsIcon32.png|28px |link={{{WpURL}}}]] '''[{{{WpURL}}} <font color="black">{{PAGENAME}}]</font>''' |
|}{{WpBadge}}{{#if: {{{WpIntro|}}} | {{{WpIntro}}} |<br/><br/>}} | |}{{WpBadge}}{{#if: {{{WpIntro|}}} | {{{WpIntro}}} |<br/><br/>}} | ||
<br/><hr/> | <br/><hr/> | ||
Line 50: | Line 51: | ||
{{#if: {{{ExLink7|}}} |*<b>[[WpNsRelatedLink::{{{ExLink7|}}}|{{{ExLink7Name|}}}]]</b> {{{ExLink7Desc|}}}<br/>|}} | {{#if: {{{ExLink7|}}} |*<b>[[WpNsRelatedLink::{{{ExLink7|}}}|{{{ExLink7Name|}}}]]</b> {{{ExLink7Desc|}}}<br/>|}} | ||
{{#if: {{{ExLink8|}}} |*<b>[[WpNsRelatedLink::{{{ExLink8|}}}|{{{ExLink8Name|}}}]]</b> {{{ExLink8Desc|}}}<br/>|}} | {{#if: {{{ExLink8|}}} |*<b>[[WpNsRelatedLink::{{{ExLink8|}}}|{{{ExLink8Name|}}}]]</b> {{{ExLink8Desc|}}}<br/>|}} | ||
− | {{#if: {{{ExLink9|}}} |*<b>[[WpNsRelatedLink::{{{ExLink9|}}}|{{{ExLink9Name|}}}]]</b> {{{ExLink9Desc|}}}<br/>|}}[[Category:WpPages]]</includeonly> | + | {{#if: {{{ExLink9|}}} |*<b>[[WpNsRelatedLink::{{{ExLink9|}}}|{{{ExLink9Name|}}}]]</b> {{{ExLink9Desc|}}}<br/>|}} |
+ | {{#if: {{{Stub|}}} | {{WpStub}} |}}[[Category:WpPages]]</includeonly> |
Revision as of 16:25, 24 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) |Stub=1 (Optional stub marker) |WsLink1= |WsLink1Desc= |WsLink2= |WsLink2Desc= ... |WsLink9= |WsLink9Desc= |ExLink1= |ExLink1Name= |ExLink1Desc= |ExLink2= |ExLink2Name= |ExLink2Desc= ... |ExLink9= |ExLink9Name= |ExLink9Desc= }}
Edit the page to see the template text.