Template talk:WP: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
(Another useful argument?)
 
imported>J. Noel Chiappa
(Use on non-mainspace pages)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Another useful mode==
==Another useful mode==
How about something like:
How about something like:
<nowiki>{{WP|Name|Anchor}}</nowiki>
<nowiki>{{WP|Name|Hyperlinkl}}</nowiki>
links to the wikipedia entry "Name", with the text "Anchor" appearing on the viewed page here? (If there's already a way to do this, my apologies.) Otherwise, a very useful template! [[User:J. Noel Chiappa|J. Noel Chiappa]] 08:43, 25 February 2008 (CST)
links to the wikipedia entry "Name", with the text "Hyperlink" appearing on the viewed page here? (If there's already a way to do this, my apologies.) Otherwise, a very useful template! [[User:J. Noel Chiappa|J. Noel Chiappa]] 08:43, 25 February 2008 (CST)
 
: Done. [[User:J. Noel Chiappa|J. Noel Chiappa]] 10:15, 1 March 2008 (CST)
 
==Use on non-mainspace pages==
There are a number of options of what to do with plain old {{tl|WP}}, when used on Talk: pages, subpages, etc. Originally, use of plain old {{tl|WP}} on "Talk:Foo" links to plain old "Foo" on Wikipedia, not "Talk:Foo". I left this alone because it seems like it might be useful behaviour, but tweaked it so that it exhibits the same behaviour on sub-pages; i.e. use of {{tl|WP}} on "Talk:Foo/Draft" references "Foo" on Wikipedia - that way, when a Talk: page of a draft article is moved, when the article is approved, it won't break the WP links. [[User:J. Noel Chiappa|J. Noel Chiappa]] 14:39, 7 March 2008 (CST)

Latest revision as of 14:39, 7 March 2008

Another useful mode

How about something like: {{WP|Name|Hyperlinkl}} links to the wikipedia entry "Name", with the text "Hyperlink" appearing on the viewed page here? (If there's already a way to do this, my apologies.) Otherwise, a very useful template! J. Noel Chiappa 08:43, 25 February 2008 (CST)

Done. J. Noel Chiappa 10:15, 1 March 2008 (CST)

Use on non-mainspace pages

There are a number of options of what to do with plain old {{WP}}, when used on Talk: pages, subpages, etc. Originally, use of plain old {{WP}} on "Talk:Foo" links to plain old "Foo" on Wikipedia, not "Talk:Foo". I left this alone because it seems like it might be useful behaviour, but tweaked it so that it exhibits the same behaviour on sub-pages; i.e. use of {{WP}} on "Talk:Foo/Draft" references "Foo" on Wikipedia - that way, when a Talk: page of a draft article is moved, when the article is approved, it won't break the WP links. J. Noel Chiappa 14:39, 7 March 2008 (CST)