انتقل إلى المحتوى

مستخدم:Willscrlt/meta

من ويكيبيديا، الموسوعة الحرة
• metameta • meta • metameta •

I am gaining experience in writing "meta" templates designed to work across all the Wikimedia Foundation sites and that can be customized to work in any language. This page contains links to all of my meta templates currently installed at this site. For the complete list of templates with the most up-to-date versions, please refer to the master list I maintain at the Meta Wikipedia. My current meta templates are mostly of interest only to me, but the templating techniques I use could be useful to many people. Please feel free to look at my work and ask me questions, but please do not change anything. All my templates are released under several free licenses, so you are welcome to copy them and then modify the copies as long as you give me credit for my original work.

My templates (قالب)

[عدل]

{{

  1. ifexist: مستخدم:Willscrlt/meta/CatNoteIfEmpty |
  2. /CatNoteIfEmpty — A notice for empty or sparsely populated categories to be filled automatically by template }}
  3. /iw — Default interwikis
  4. /lang — Language marker for blocks of internationalized text
    • Version: 1.5.0 (18:14, 13 April 2009 (UTC)) — Check for updates
    • English English: This is an example.
      {{
  5. ifexist: مستخدم:Willscrlt/meta/Multilingual user page |
  6. /Multilingual user page — A user home page translated into many languages with Babel info and a rudimentary sidebar
  7. ifexist: مستخدم:Willscrlt/metaSidebar |
  8. /Sidebar — Displays a useful sidebar on my user page }}
  9. /Sign — Displays my signature, dynamically adapting to different wikis and languages
  10. Talk Page Headers:
    1. RTL-safe : works with any language, but originally designed for Arabic (RTL) wikis


My userboxes

[عدل]

I have made several userboxes for the English Wikipedia. It can be difficult to make them work on other sites. In some cases it is because the standard {{Userbox}}, {{Userbox-r}}, and {{Userbox-2}} templates are not available at every project or in every language (sometimes they are present, but translated into a different name). Another case is where the template exists, but it is implemented differently or using different styles and formatting. Any such differences could cause a userbox to not display or display poorly. I have created three standard userbox templates (my standard, but based on the templates in use at the English Wikipedia at the time I forked these to my userspace).

I continue to modify the templates as needed to better support non-English languages. One big difference from other Userbox templates I've seen is that these support specifying the language of the text, the text-flow direction (LTR or RTL), text-alignment, and floating either to the left of the right. That makes these templates very useful on non-English language sites. Read the template documentation for more information.

For more userboxes (ones that actually say something), visit my my master gallery of userboxes on the English Wikipedia.

Userbox
The main template that displays the userbox.

Userbox-r
A wrapper that results in a userbox with the ID field on the reverse side.

Userbox-2
A wrapper that triggers a userbox with two ID areas.


Internationalized materials

[عدل]

In addition to templates, I also occasionally create translations of some documents. My master repository of internationalized material (other than templates) is located on Wikimedia Commons.

{{

  1. switch: ar.wikipedia.org

| www.mediawiki.org | meta.wikimedia.org | species.wikimedia.org | translatewiki.net = | #default= }}