Template talk:Ljuser
From Encyclopedia Dramatica
This is pretty cool!
- Thanks. I don't know if it can be improved... [[User:Ashley Y|—Ashley Y]] 05:30, 8 Feb 2005 (UTC)
[edit] Examples
Use lj for users, ljcomm for communities.
[[User:Ashley Y|—Ashley Y]] 06:34, 8 Feb 2005 (UTC)
[edit] Userinfo page link
Is it possible to get the head/whateverthatotherthingis to link to the user's userinfo page, like LJ itself does? It looks kind of like you'd need another external link, which would look silly, so I'm guessing it's not practical. Thought I'd mention it, though. --Frowningman 23:59, 29 Apr 2005 (UTC)
- Done. --quasidan 09:28, 30 Apr 2005 (UTC)
- You know, I think
{{{user}}} looked better... This one has two "External link" arrows, which makes it kinda ugly. Or wait, can't we make a template that redirects to an External Link?
- Unfortunately, this is impossible. You can only redir to other internal pages. I know the two external link arrows look ugly, but the alternative is not having the LJ icon link to the userinfo. --Lucky Pierre 21:29, 24 Jun 2005 (UTC)
- You know, I think
[edit] No more than three per article
When you try to use this template more than three times per article, it stops working. Same with Template:Ljcomm. What's up with that? ~ Krade 19:33, 17 Jul 2005 (UTC)
Krade: it's an issue with this version of MediaWiki (ED is on 1.3): From here:
- In versions before 1.4 the same template can not be included more than five times in the same page (bug 95); e.g. {{t|a}} here gives start-a-end (this is Template:T when viewing the page in version 1.3, and startaend when when viewing the page in version 1.4 and also when previewing during section editing), because template t has already been used five times on this page. This makes this mechanism less suitable for special characters, e.g. wikibooks:Template:Flat and repeatedly occurring pieces of code, e.g. Template:sub. If necessary, make copies of the template. E.g, on this page Template:T1 is used, a copy Template:T.
- The restriction, although this may not be the main purpose and not the best way, currently protects against infinite recursion, see e.g. en:Template:hc. The contents of a recursive template is rendered six times on the page of the template itself, and five times on a referring page: the limit of five includes indirect referrals.
- There is no such limit for multiple occurrences of a parameter in a page, there can be more than five. This can make a rendered page very long if the parameter value is a long text. This effect can cumulate with the five- or six-fold rendering mentioned above, see Template:Z in combination with Template:Y.
So yeah, if you just duplicate template:lj and call it lj2. --Lucky Pierre 23:43, 17 Jul 2005 (UTC)
- Oh. Thanks for the info, I was going to RTFM, but Help:Contents on Wikimedia was vandalized, so I reverted it (being the revert bot I am) and forgot about what I was doing there. I suppose we can't upgrade to 1.5, huh? Hey, I could help. Just leave the SSH server working, post the root password in my talk page along with your credit card and social security numbers and I promise I'll fix everything. For realz. ~ Krade 00:40, 18 Jul 2005 (UTC)
- ED will most likely not be upgrading anytime in the forseeable future. Sorry. --girlvinyl 03:58, 18 Jul 2005 (UTC)
