Jump to content

iThemplethi:Website Official/doc

Livela

iThemplethi:Iimpepha subpage <-! Nceda ufake iindidi emazantsi eli phepha uze interwikis kwi Wikidata ->

iThemplethi:Uses Wikidata iThemplethi:Tracks Wikidata

Injongo yale template kukubonelela ngendlela eqhelekileyo ukuze zokuphawula iilinki website esemthethweni lwesincoko engundoqo i lexi vatliweke.

ukusebenzisa Basic

[Yenza izilungiso kokubhaliweyo]

Esi sifanekiso ingasetyenziswa ngaphandle kokucacisa naziphi i parameters, ukuba "website esemthethweni" Ipropati (P856) bunikwa kweloo kaThixo inqaku Wikidata irekhodi. ungadibanisa {{ website esemthethweni}} ukuya lexi vatliweke weblinks bangaphandle icandelo. Ukuba ku Wikidata website esemthethweni ngaphezu omnye okunene uphiwa, ungeno onamathele kulo ulwimi ukuba IsiNgesi ikhethwa ngokuzenzekelayo.

ukusebenzisa Advanced

[Yenza izilungiso kokubhaliweyo]

iparameters abane ziyafumaneka:

  • 1= or URL= or url= isetyenziselwa ukucacisa URL. Ukuba le eyesibini iparameter engaqukwanga, ixabiso "website esemthethweni" Ipropati (P856) lisetyenziswa kwi Wikidata.
  • 2= or igama= isetyenziselwa Ukufometha isihloko ukuba "website Official" ayifaneleki.
    • QAPHELA: Lo gama kufuneka ngamafuphi ngokuchanileyo ukuchaza ikhonkco yangaphandle ngokunxulumene kwisifundo. Ngokukodwa, oko kufanele hayi ziquka igama inqaku ngesifundo njengoko umfundi ngokufanelekileyo ulindele ukuba zonke iilinki zangaphandle ibandakanya isifundo.
  • mobile= ukukhetha kusetyenziswa xa kukho "website esemthethweni" ezahlukeneyo ukwenzela ukusetyenziswa Mobile Web izixhobo.
  • format=flash ukukhetha kusetyenziswa xa website kufuna Adobe Flash Player software.

Ezinye URL eziqulathe iimpawu ezikhethekileyo, ezifana & okanye = , ndiyasaphula template. Isisombululo ukuba prepend i URL ne 1=

Code Isiphumo
{{website Official}} website Official (URL kufuneka abe phezu Wikidata)
{{website Official | example.org}} Script error: No such module "Website Official".
{{website Official | www.example.org}} Script error: No such module "Website Official".
{{website Official | //www.example.org}} Script error: No such module "Website Official".
{{website Official | http: //www.example.org/}} Script error: No such module "Website Official".
{{website Official | https: //www.example.org/}} Script error: No such module "Website Official".
{{website Official | 1 = http:? //www.example.org/ intshukumo = imbono}} Script error: No such module "Website Official".
{{website Official | http: //www.example.org | igama = Umzekelo}} Script error: No such module "Website Official".
{{website Official | example.org | mobile = http: //m.example.org}} Script error: No such module "Website Official".
{{website Official | example.org | ifomati = flash}} Script error: No such module "Website Official".

iThemplethi:TemplateData header

Injongo yale template kukubonelela ngendlela eqhelekileyo ukuze zokuphawula izihlanganisi websites ezisemthethweni.

Template parameters

ParameterDescriptionTypeStatus
URL1 URL

Le URL ukuba template eza kuhambelana

Stringoptional
umbhalo URLname

Okubhaliweyo kule URL ukubonisa. Ukuba akunjalo wazilungiselela engagqibekanga ku 'website Official'

Stringoptional
Website mobilemobile

Ukuba website ine 'website esemthethweni' ezahlukeneyo izixhobo mobile kule website ezinokuhlelwa apha

Stringoptional
Requires Flashformat

Ukuba website ufuna software Adobe Flash Player zibonakale, umise oku parameters ixabiso 'flash'

Stringoptional

Enye ndidi zilandelayo ingongezwa amanqaku besebenzisa le template (nge Module:website Official):

  • {{Official URL}} – Zokufakela ngokuzenzekelayo kwiwebhusayithi impahla esemthethweni Wikidata
  • {{URL}} – Zokusetyenziswa endaweni {{Official website}} ku infoboxes