Template talk:H:title
From Wikipedia, the free encyclopedia
Contents |
[edit] Meta:Template:H:title authors and history
- 11:45, 25 November 2006 contribs)| (RV, and deleted attribute "id" (it has no effect and will be an error if we use this template more that once in a page: id MUST be unique on a document.)
- 22:15, 21 October 2006 User:84.180.216.237
- 02:44, 18 July 2006 User:72.9.228.44
- 02:43, 18 July 2006 User:72.9.228.44
- 12:48, 4 May 2006 User:138.217.211.139
- 12:47, 4 May 2006 User:138.217.211.139
- 23:05, 24 November 2005 contribs)| m (Template:Title moved to Template:H:title)
- 03:35, 8 June 2005 User:67.161.110.120 (revert accidental edit)
- 03:34, 8 June 2005 User:67.161.110.120
- 08:44, 29 May 2005 contribs)|
- 21:21, 28 May 2005 contribs)|
- 20:54, 28 May 2005 contribs)| m
- 20:51, 28 May 2005 contribs)|
[edit] From Meta:Template talk:H:title
[edit] Interwiki link
{{editprotected}}
Dear administrator, please add the following interwiki link:
[[ia:Patrono:H:title]]
Thank you in advance, --Julian 19:49, 4 November 2007 (UTC)
[edit] Make it work for wikilinks too
{{editprotected}}
Right now this template doesn't seem to work for wiki-links. I added some code to have an optional 'link=yes' parameter, this will turn the text of the second parameter into a wikilink and will display the title when hovering over the link.
Example of how a link with a hover text, using this template, displays right now: Example, and another example of how it might work with the link paramater added: Example.
this is the suggested code:
{{#ifeq:{{{link}}}|yes|[[{{{2}}}|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}}>{{{2}}}</span>]]|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}}>{{{2}}}</span>}}<noinclude>{{pp-template}}[[ia:Patrono:H:title]][[sl:Predloga:H:title]]</noinclude>

