Difference between revisions of "Template:SL-hCard"
(→Comments: wikification, response) |
(Some cleanup, slopenid is back in) |
||
Line 9: | Line 9: | ||
| colspan="2" | | | colspan="2" | | ||
<div class="summary"> | <div class="summary"> | ||
<div style="color:#93a9d5;font-weight:bold;">Photo:</div> | |||
<div style="border:1px inset #000;margin-left:0;width:{{{photo_x}}}px;">http://static.slopenid.net/img/sl-avatar/{{{mode}}}/{{{photo_x}}}/{{{photo_y}}}/{{{uuid}}}.jpg</div> | |||
<div style="color:#93a9d5;font-weight:bold;">Born:</div> | <div style="color:#93a9d5;font-weight:bold;">Born:</div> | ||
<div style="border:1px inset #000;padding:0.1em;margin-left:0 | <div style="border:1px inset #000;padding:0.1em;margin-left:0;">{{{rezday}}}</div> | ||
<div style="color:#93a9d5;font-weight:bold;">Account:</div> | <div style="color:#93a9d5;font-weight:bold;">Account:</div> | ||
<div style="border:1px inset #000;padding:0.1em;margin-left:0; | <div style="border:1px inset #000;padding:0.1em;margin-left:0;">{{{account}}}</div> | ||
<div style="color:#93a9d5;font-weight:bold;">Partner:</div> | <div style="color:#93a9d5;font-weight:bold;">Partner:</div> | ||
<div style="border:1px inset #000;padding:0.1em;margin-left:0; | <div style="border:1px inset #000;padding:0.1em;margin-left:0;">{{{partner}}}</div> | ||
<div style="color:#93a9d5;font-weight:bold;">About:</div> | <div style="color:#93a9d5;font-weight:bold;">About:</div> | ||
<div style="border:1px inset #000;padding:0.1em;margin-left:0;">{{{about}}}</div> | <div style="border:1px inset #000;padding:0.1em;margin-left:0;">{{{about}}}</div> |
Revision as of 11:12, 9 January 2007
I (SignpostMarv Martin) quickly ported this template over from the SL History Wiki.
It's a geeky method of emulating the SL Profile and uses the hCard Microformat, and is in need of being modified to be more efficient- using the Parser functions if this wiki has them installed.
Guidelines for usage
It is suggested that SL hCard be created in your account's userspace as a separate article, purely for the convenience and flexibility to modify the hCard without affecting the edit history of an article it is included in, and also to make it easier to include the hCard in other articles as shown below.
Guidelines for modification
- Please don't modify the code extensively if you're not familiar with MediaWiki syntax.
- Please sign a bug with
<small>discovered by ~~~~</small>
- Similarly, please sign when a bug has been fixed by using
<del>example</del>
around the bug description followed by<ins>fixed by ~~~~</ins>
- Similarly, please sign when a bug has been fixed by using
- Once the bugs are fixed, it would be appreciated if the template was locked from being edited by non-admins, for the same reasons the Infobox templates are locked on the Wikipedia
Any random questions about the SL-hCard should be made on the talk page for this template, or on my talk page
Known Bugs
This installation of MediaWiki seems to want to convert the closing tags on a lot of the elements to HTML entities for some reason.discovered by SignpostMarv Martin 09:25, 8 January 2007 (PST)I modified the source a bit, using divs now. Unfortunately the lists are not displayed correctly now...discovered by Anders Nordberg 05:16, 9 January 2007 (PST)
The external image URL provided the SLOpenID avatar profile photo caching service isn't displayed on this wiki, but is on the SL History Wiki.discovered by SignpostMarv Martin 09:25, 8 January 2007 (PST)External images must be allowed in the mediawiki-config. See WikiMedia-Wiki. I'll check it tomorrow at work. Anders Nordberg 08:23, 9 January 2007 (PST)
Comments
I think there might be ongoing issues about including the uuid in the template, given that providing it to all users could promote serious abuse. Whilst leaving it at a default value of 00000000-0000-0000-0000-000000000000 is certainly one option, complete removal from the template might be a better one. --Alison Wheels 07:37, 9 January 2007 (PST)
- I removed it, uploading a picture is maybe the better way as long as the Wiki-configuration is not changed. But using the UUID would be the easier way. --Anders Nordberg 08:31, 9 January 2007 (PST)
- If you check the SL History Wiki, you'll see it works perfectly fine. No idea why it doesn't work here.
- The way the SLOpenID avatar caching thing works (the little project I made as a workaround for not being able to resize external images in the wikipedia) setting the default to NULL_KEY wouldn't really work. You'd just have (in theory, once I get around to it) the MISSING IMAGE texture displayed. Which wouldn't be nice :-P
- The other reason, btw, that the caching service was created was because of Linden Lab's odd decision with regards to the size and aspect ratio of the web-based avatar profile photo.
- SignpostMarv Martin 10:09, 9 January 2007 (PST)
Example
- <spandir="rtl"title="CreativeCommons">Error creating thumbnail: convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1928. convert-im6.q16: unable to open file `/tmp/magick-8324b4Gxo8W8d8Vh': No such file or directory @ error/constitute.c/ReadImage/600. convert-im6.q16: no images defined `PNG:/tmp/transform_67b7f92686ac.png' @ error/convert.c/ConvertImageCommand/3258.<spantitle="Attribution,Share-alike">BY-SA3.0
- <spandir="rtl"title="CreativeCommons">Error creating thumbnail: convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1928. convert-im6.q16: unable to open file `/tmp/magick-8329JtUwhNDn0g2g': No such file or directory @ error/constitute.c/ReadImage/600. convert-im6.q16: no images defined `PNG:/tmp/transform_0f1016a5de61.png' @ error/convert.c/ConvertImageCommand/3258.<spantitle="Attribution,Share-alike">BY-SA2.0<spantitle="EnglandandWales">UKError creating thumbnail: convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1928. convert-im6.q16: unable to open file `/tmp/magick-8334Elffw5mmw9Bm': No such file or directory @ error/constitute.c/ReadImage/600. convert-im6.q16: no images defined `PNG:/tmp/transform_4a29266990e6.png' @ error/convert.c/ConvertImageCommand/3258.
- <spantitle="GNU">G<spantitle="FreeDocumentLicense">FDL
- created first MegaTokyo fan group in SL, '
- Only got suspended once (12 hours for harrasing Adam Linden)
- Became a Second Life Mentor
- Made two long term additions to Help Island
- Test Track (removed to lower the physics usage in the Help Island sims)
- Teleporter map (still there, uses instant touch-to-llSitTarget()
The wiki-code for using the SL hCard template can be viewed on my user space and my user space on the SL History Wiki