Template talk:Citelink

From PC-BSD Wiki
Revision as of 14:37, 12 August 2012 by Tigersharke (Talk | contribs)

Jump to: navigation, search

shortcut for Wikipedia

Salvete!

Maybe wp is the better shortcut for Wikipedia (than wikipedia)?

-- Rg 08:44, 1 August 2012 (PDT)

I can add it as an additional option. The reason for using 'wikipedia' is that it is a standard interwiki identifier.

--Tigersharke 18:57, 1 August 2012 (PDT)

Thanks!

-- Rg 08:09, 3 August 2012 (PDT)

shortcut for the FreeBSD Handbook

Salvete!

I am wondering, that there are no shortcut for the books, especially the ("holy") handbook.
Shouldn't we have these shortcuts like those?

(Tigersharke, by the way, thanks for your great (and "speedy") work to create such templates.)

--Rg 07:08, 12 August 2012 (PDT)

This can be done, BUT, what would be the shortcut word?? I suppose we could assume fbsdph - Porter's Handbook, fbsdh - Handbook, how are those?

--Tigersharke 14:37, 12 August 2012 (PDT)

created (not alternate) text for shortcuts

Salvete!

Please, do not hate me for this idea. :-D

Can you manage it, that if there is no alternate text (|txt=$alternate text) by using the template Citelink, the template creates a "right" text by default.

Do you know what I mean?

Example

If I use the the template in the following way

{{citelink|fbsd|url=Sound}}

the result is

[1][1]

.
But in my way of thinking the optimal result is

FreeBSD Wiki: Sound[1]

, which is a composition of a default text for every shortcut (FreeBSD Wiki in this case) + ": " + the title of site (by using the page url (of |url=$page url)).

Please see this idea as a constructive input for make your good templates even more better. :-)

--Rg 07:39, 12 August 2012 (PDT)

The trouble with automating the FreeBSD Wiki: + Url format, is that at best it would be a third field, unless fbsd: were to be parsed to return this new link format. I do not want to take away the txt= option.

--Tigersharke 14:31, 12 August 2012 (PDT)


Cite error: <ref> tags exist, but no <references/> tag was found