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.)
  • 23:05, 24 November 2005 contribs)| m (Template:Title moved to Template:H:title)

[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)

Y Done east.718 at 20:42, 11/4/2007

[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>

Freestyle 10:32, 28 February 2008 (UTC)

Y Done --ais523 14:35, 28 February 2008 (UTC)