Miraheze Template Wiki/ar

From Miraheze Developers Wiki

مرحبا بكم في ويكي قوالب ميراهيزي

This is a community owned template repository for anyone to obtain templates for their Miraheze wiki.

For any templates you require not already on this wiki, create a task listing them at Phabricator.

How far into the template rabbit hole do you go?

عن القوالب

إذا ما هي القوالب ؟

A template is a page that gets transcluded in another page. This is useful for text that is used in multiple places, only the template needs editing to change all instances where it appears.

All templates are in the "templates namespace".

For example, create a page called Template:Main with the text

''The main article for this is [[{{{1}}}]]''.

and then inserting the template {{Main|Random page}} where you want the text to appear gives:

The main article for this is Random page.

عن هذه الويكي

This wiki is intended to be a central repository for Miraheze templates.

Templates are a headache to disentangle, understand, install and maintain. Miraheze already makes life considerably easier for wiki admins, allowing them to focus on adding content instead of diverting time and energy to keeping up with the upgrade-debug race.

للحصول على الوظائف الكاملة ، يجب أن يتم توفير ميدياويكي مع قوالب مجمعة بها ولكن لا يوجد ما يشير إلى حدوث ذلك في أي وقت قريب. لذا يقوم مسؤولو ويكي Miraheze إما بكتابة القوالب الخاصة بهم أو تصديرها من مكان آخر على سبيل المثال Wikipedia.org. هذا هو تبديد للجهود المبذولة بدلا من التعاون

Use the community portal for any meta discussions (about the wiki) or anything relevant to its intended purpose.

كيفية استخدام هذه الويكي

Using templates from this wiki won't prevent you from having unique templates on your wiki. The advantage of using templates from this wiki is that multiple people will have already put in the effort to make highly complex templates suitable for general use.

Writing your own templates.


Miraheze wikis are Instant Commons enabled, otherwise the images for icons would have to be uploaded locally. A good source for these is Wikimedia Commons' Category:Icons by subject.

تجربة القوالب

For previewing a template do the following:

  1. Copy the templates to be tested under a common prefix. For example, you might copy Template:Foo to User:Example/sandbox/Template:Foo. Alternatively, you might create User:Example/sandbox/Template:Foo as a redirect to Template:Foo/sandbox.
  2. Go to Special:TemplateSandbox. Fill in the page or revision to be rendered, and the prefix you chose in step 1. It is possible to specify multiple prefixes by separating them using vertical bars, e.g. User:Example/sandbox1|User:Example/sandbox2.
  3. Click View.

There is also a box at the bottom of the edit form which allows for previewing some other page as it would appear were the template being edited saved with the current contents of the edit form.

القوالب المتاحة

روابط خارجية