Difference between revisions of "Template talk:Citelink"

From PC-BSD Wiki
Jump to: navigation, search
(shortcut for the FreeBSD Handbook)
m (created (not alternate) text for shortcuts: greeting from europe)
Line 63: Line 63:
  
 
--[[User:Vater|Rg]] 07:39, 12 August 2012 (PDT)
 
--[[User:Vater|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.
 
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.
  
 
--[[User:Tigersharke|Tigersharke]] 14:31, 12 August 2012 (PDT)
 
--[[User:Tigersharke|Tigersharke]] 14:31, 12 August 2012 (PDT)
 +
 +
----
 +
 +
Am I wrong, or is <code>'''|txt='''$alternate text</code> a (indirect) obligation and not a option (if we are apply the template by using a shortcut)? If we do not use this (direct), we have to write an (also) alternate text (without <code>'''|txt='''</code>) at the end, or not?
 +
 +
I was talking of the case, that there is (independent of the purpose) <u>no alternate text</u> existing.
 +
 +
At the moment the result of different articles {{citelink|fbsd|url=faq}} {{citelink|fbsd|url=Printers}} is the same "default" text (by having a different topic).
 +
 +
(One again, because I am not sure:) Do you know what I mean?<br>
 +
If you are make the users doing write a alternate text for naming the topic: No Problem! :-) I am only interested that you can follow my chain of thought.
 +
 +
--[[User:Vater|Rg]] 18:28, 12 August 2012 (PDT)

Revision as of 17:28, 12 August 2012

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, fbsddh - Developer's Handbook, how are those?

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


Thanks! :-)

I am "simple": I am nominating hb. :-) Are there any shorter shortcuts out there? :-D

--Rg 17:44, 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)


Am I wrong, or is |txt=$alternate text a (indirect) obligation and not a option (if we are apply the template by using a shortcut)? If we do not use this (direct), we have to write an (also) alternate text (without |txt=) at the end, or not?

I was talking of the case, that there is (independent of the purpose) no alternate text existing.

At the moment the result of different articles [2][2] [3][3] is the same "default" text (by having a different topic).

(One again, because I am not sure:) Do you know what I mean?
If you are make the users doing write a alternate text for naming the topic: No Problem! :-) I am only interested that you can follow my chain of thought.

--Rg 18:28, 12 August 2012 (PDT)


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

Variants
Actions
Navigation
Toolbox