Difference between revisions of "Template talk:Manga"
(Created page with "{{Talk header}} ==Unify templates== Should we unify these templates that create piped links with their namesake in brackets? * Template:BAM (This one is slightly differe...") |
Dinoguy1000 (talk | contribs) (→Unify templates: update) |
||
(One intermediate revision by the same user not shown) | |||
Line 19: | Line 19: | ||
I think there's a limit to the number of templates that can be used on a page and too many templates can slow down the [[Special:ParserSpeed|time it takes to load a page]]. Although for this template, that probably wouldn't be an issue, except on long pages, like main characters. -- [[User:Deltaneos|Deltaneos]] ([[User talk:Deltaneos|talk]]) 19:35, April 20, 2016 (UTC) | I think there's a limit to the number of templates that can be used on a page and too many templates can slow down the [[Special:ParserSpeed|time it takes to load a page]]. Although for this template, that probably wouldn't be an issue, except on long pages, like main characters. -- [[User:Deltaneos|Deltaneos]] ([[User talk:Deltaneos|talk]]) 19:35, April 20, 2016 (UTC) | ||
+ | |||
+ | :I'm actually ahead of you there; some time ago I created {{t|link with dab}} which fills this role, and switched all the link templates to using it, including the ones you linked here. <s>Making it auto-strip # is a good idea, though, and would allow the BAM template to be simplified.</s> (I'm also not particularly attached to the name; if you think just "link" would be better (and that we wouldn't ever want to use that name for something else), feel free to move it.) <span class="nowrap">「[[User:Dinoguy1000|<span style="color:#00f;">ディノ</span><span style="color:#080;">奴</span>]][[Special:Contributions/Dinoguy1000|<span style="color:#F90;">千?!</span>]]」<sup>[[wikipedia:Help:IJP|?]] · [[User talk:Dinoguy1000#top|☎ Dinoguy1000]]</sup></span> 21:51, April 20, 2016 (UTC) | ||
+ | :I went ahead and moved the #-stripping to {{tlf|link with dab}}. <span class="nowrap">「[[User:Dinoguy1000|<span style="color:#00f;">ディノ</span><span style="color:#080;">奴</span>]][[Special:Contributions/Dinoguy1000|<span style="color:#F90;">千?!</span>]]」<sup>[[wikipedia:Help:IJP|?]] · [[User talk:Dinoguy1000#top|☎ Dinoguy1000]]</sup></span> 21:55, April 20, 2016 (UTC) |
Latest revision as of 21:55, 20 April 2016
This is the talk page for discussing the page, Template:Manga. | |
---|---|
|
Please try to
|
Unify templates[edit]
Should we unify these templates that create piped links with their namesake in brackets?
- Template:BAM (This one is slightly different as it also strips "#" from the link)
- Template:Anime
- Template:Manga
Always using the bracketed text as the name of the template will run into problems. e.g. if we ever wanted to make one for "card" or "OCG".
A unified template would mean not needing to make a new one for all recurring disambiguation text. Something like:
{{Link|Blue-Eyes White Dragon|manga}}
→[[Blue-Eyes White Dragon (manga)|Blue-Eyes White Dragon]]
or
{{Link|Blue-Eyes White Dragon (manga)}}
→[[Blue-Eyes White Dragon (manga)|Blue-Eyes White Dragon]]
Although, there is a very similar non-template way of doing this.
[[Blue-Eyes White Dragon (manga)|]]
, which becomes[[Blue-Eyes White Dragon (manga)|Blue-Eyes White Dragon]]
when the page is saved.
It removes the need to type the same thing twice or copy paste. But it doesn't reduce the repetition after the page is saved.
I think there's a limit to the number of templates that can be used on a page and too many templates can slow down the time it takes to load a page. Although for this template, that probably wouldn't be an issue, except on long pages, like main characters. -- Deltaneos (talk) 19:35, April 20, 2016 (UTC)
- I'm actually ahead of you there; some time ago I created {{link with dab}} which fills this role, and switched all the link templates to using it, including the ones you linked here.
Making it auto-strip # is a good idea, though, and would allow the BAM template to be simplified.(I'm also not particularly attached to the name; if you think just "link" would be better (and that we wouldn't ever want to use that name for something else), feel free to move it.) 「ディノ奴千?!」? · ☎ Dinoguy1000 21:51, April 20, 2016 (UTC) - I went ahead and moved the #-stripping to {{link with dab}}. 「ディノ奴千?!」? · ☎ Dinoguy1000 21:55, April 20, 2016 (UTC)