Miraheze Template Wiki

From Template Wiki
Jump to: navigation, search
This page is a translated version of the page Miraheze Template Wiki and the translation is 50% complete.

Outdated translations are marked like this.
Other languages:
English • ‎español • ‎Tagalog
Gaano kalalim ka papasok sa butas ng kuneho ng mga padron?

Maligayang pagdating

Maligayang pagdating sa Miraheze Template Wiki. Ito ay isang repositoryo ng mga padrong inaari ng komunidad, na kung saan ang kahit sino'y makakakuha ng mga padron para sa kanilang wiki sa Miraheze.

Huwag mag-atubiling magdagdag ng kahit anumang padrong sa tingin mo'y dapat maisama. Para sa anumang padrong kinakailangan mong wala pa sa wiking ito at kinakailangang maiangkat, hilingin ang talaan sa Community portal#Wanted templates, o sa Stewards' noticeboard.

Tungkol sa mga padron

Kaya ano ang mga padron?

Ang isang padron ay isang pahinang isinasama sa iba pang pahina (ito ay tinatawag na transklusyon). Mahalaga ito para sa tekstong ginagamit sa iba't ibang lugar, ang padron lamang ang kinakailangang mabago upang mabago ang lahat ng instansiya na kung saan ipinapakita ito.

Lahat ng padron ay nasa "ngalan-espasyong padron".

Halimbawa, gumawa ng isang bagong pahinang tinatawag na Template:Main na may tekstong

''Ang pangunahing artikulo para dito ay [[{{{1}}}]]".

at tapos ang pagpasok ng padron {{Main|Pahinang walang-pili}} kung saan mo gustong lumabas ang teksto ay nagbibigay ng:

Ang pangunahing artikulo para dito ay Pahinang walang-pili.

Tungkol sa wiking ito

Ang wiking ito ay nilayon upang maging isang repositoryong sentral para sa mga padron sa Miraheze.

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.

For full functionality MediaWiki ought to ship with templates bundled in but there is no sign of this happening any time soon. Miraheze wiki admins either write their own templates or export them from elsewhere e.g. Wikipedia.org. This is a wasteful dispersion of effort in place of collaboration.

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

How to use this wiki

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.

Icons

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.

Template testing

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.

Available templates

External links