{{Infoboks tidligere land
|lokalnavn              = غزنویان<br>''Ghaznavian''
|almindeligt_navn       = Ghaznavian
|dansknavn              = Ghaznavideriget
|kontinent              = Asien
|region                 = <!--- Reserved for generating categories on subregions of continents --->
|country                = Iran
|æra                    = 
|status                 = 
|statustekst            = 
|imperium               = 
|styreform              = Imperium
|
|<!--- Storhed og fald, begivenheder, år og datoer --->
|<!-- only fill in the start/end event entry if a specific article exists. Don't just say "abolition" or "declaration"-->
|
|startår                = 963
|slutår                 = 1186
|
|eksilstartår           = 
|eksilslutår            = 
|
|start_begivenhed       = 
|startdato              = 
|slut_begivenhed        = 
|slutdato               = 
|
|begivenhed1            = 
|begivenhed1dato        = 
|begivenhed2            = 
|begivenhed2dato        = 
|begivenhed3            = 
|begivenhed3dato        = 
|begivenhed4            = 
|begivenhed4dato        = 
|
|prebegivenhed          = 
|predato                = 
|postbegivenhed         = 
|postdato               = 
|
|<!--- Flag navigation: Preceding and succeeding entities p1 to p5 and s1 to s5 --->
|p1                     = Saffaridedynastiet
|flag_p1                = Saffarid dynasty 861-1003.png
|image_p1               = 
|p2                     = Samanid Riget
|flag_p2                = Samanid dynasty (819–999).GIF
|p3                     = 
|flag_p3                = 
|p4                     =  
|flag_p4                = 
|p5                     = 
|flag_p5                = 
|s1                     = Ghuriderne
|flag_s1                = Ghurids1200.png
|image_s1               = 
|s2                     = Selsjukriget
|flag_s2                = Seljuk Empire locator map.svg
|s3                     = 
|flag_s3                = 
|s4                     = 
|flag_s4                = 
|s5                     = 
|flag_s5                = 
|
|flag                   = Old Ghaznavid Flag.svg
|flag_navn              = 
|flag_type              = 
|
|våben                  = 
|symbol                 = 
|symbol_type            = 
|
|kort                   = Ghaznavid Empire 975 - 1187 (AD).PNG
|korttekst              = Ghaznavideriget under sin største udstrækning.
|
|image_map2             = <!-- If second map is needed - does not appear by default -->
|image_map2_caption     = 
|
|hovedstad              = [[Ghazni]]<br><small>(963–1163)</small><br> [[Lahore]]<br><small>(1163–1186)</small>''<ref>[http://www.britannica.com/EBchecked/topic/327951/Lahore "Lahore"] ''Encyclopædia Britannica''</ref>
|hovedstad_eksil        = <!-- If status="Exile" -->
|latd= |latm= |latNS= |longd= |longm= |longEW= 
|
|nationalt_motto        = 
|nationalsang           = 
|sprog                  = [[Tyrkisk (sprog)|Tyrkisk]] (<small>[[dynasti]] og [[militær]]</small>)<ref>C.E. Bosworth, ''The Ghaznavids:994–1040'', (Edinburgh University Press, 1963), 134.</ref><br>[[Persisk (sprog)|Persisk]] (<small>officielle og domstol sprog; [[lingua franca]]</small>)<ref>Homa Katouzian, "Iranian history and politics", Published by Routledge, 2003.  pg 128: "''Indeed, since the formation of the Ghaznavids state in the tenth century until the fall of Qajars at the beginning of the twentieth century, most parts of the Iranian cultural regions were ruled by Turkic-speaking dynasties most of the time.  At the same time, the official language was Persian, the court literature was in Persian, and most of the chancellors, ministers, and mandarins were Persian speakers of the highest learning and ability''"</ref><ref>"Persian Prose Literature." World Eras. 2002. HighBeam Research. (3 September 2012);"''Princes, although they were often tutored in Arabic and religious subjects, frequently did not feel as comfortable with the Arabic language and preferred literature in Persian, which was either their mother tongue—as in the case of dynasties such as the Saffarids (861–1003), Samanids (873–1005), and Buyids (945–1055)—'''or was a preferred lingua franca for them—as with the later Turkish dynasties such as the Ghaznawids (977–1187)''' and Saljuks (1037–1194)''". [http://www.highbeam.com/doc/1G2-3034700041.html Persian Prose Literature - World Eras | HighBeam Research] {{Webarchive|url=https://web.archive.org/web/20130502180821/http://www.highbeam.com/doc/1G2-3034700041.html |date= 2. maj 2013 }}</ref><br> [[Arabisk (sprog)|Arabisk]] (<small>[[teologi]]</small>) 
|religion               = [[Sunni Islam]]
|valuta                 = 
|
|<!--- Titles and names of the first and last leaders and their deputies --->
|leder1                 = [[Alptigin]] <small>(første)</small>
|leder2                 = [[Khusrau Malik]] <small>(sidste)</small>
|leder3                 = 
|leder4                 = 
|leder1år               = 
|leder2år               = 
|leder3år               = 
|leder4år               = 
|ledertitel             = Sultan
|repræsentant1          = <!--- Name of representative of head of state (eg. colonial governor) --->
|repræsentant2          = 
|repræsentant3          = 
|repræsentant4          = 
|repræsentant1år        = <!--- Years served --->
|repræsentant2år        = 
|repræsentant3år        = 
|repræsentant4år        = 
|repræsentanttitel      = <!--- Standard: "Guvernør"--->
|fuldmægtig1            = <!--- Name of prime minister --->
|fuldmægtig2            = 
|fuldmægtig3            = 
|fuldmægtig4            = 
|fuldmægtig1år          = <!--- Years served --->
|fuldmægtig2år          = 
|fuldmægtig3år          = 
|fuldmægtig4år          = 
|fuldmægtig_titel       = <!--- Default: "Prime minister" --->
|
|<!--- Legislature --->
|lovgivende             = <!--- Name of legislature --->
|kammer1                = <!--- Name of first chamber --->
|kammer1type            = <!--- Default: "Upper house"--->
|kammer2                = <!--- Name of second chamber --->
|kammer2type            = <!--- Default: "Lower house"--->
|
|<!--- Areal og indbyggertal i et givet år --->
|stat1år                = 1029 est.
|areal1                 = 3400000
|befolkning1            = 
|stat2år                = 
|areal2                 = 
|befolkning2            = 
|stat3år                = 
|areal3                 = 
|befolkning3            = 
|stat4år                = 
|areal4                 = 
|befolkning4            = 
|stat5år                = 
|areal5                 = 
|befolkning5            = 
|fodnoter               = <!--- Accepts wikilinks --->
}}
'''Ghaznavidriget''' ({{lang-tr|Gazneli İmparatorluğu}}, {{lang-fa|غزنویان}}) også kendt som '''Ghaznaviderne''' var et muslimsk dynasti af [[Tyrkiske folkeslag|tyrkisk]] [[mameluk]]-oprindelse<ref>''Islamic Central Asia: an anthology of historical sources'',  Ed. Scott Cameron Levi and Ron Sela, (Indiana University Press, 2010), 83;''The Ghaznavids were a dynasty of Turkic slave-soldiers...''</ref><ref>[http://www.britannica.com/EBchecked/topic/232579/Ghaznavid-dynasty "Ghaznavid Dynasty"] ''Encyclopædia Britannica''</ref><ref>Jonathan M. Bloom, Sheila Blair, The Grove Encyclopedia of Islamic Art and Architecture, Oxford University Press, 2009, Vol.2, p.163, [http://books.google.com/books?id=un4WcfEASZwC&printsec=frontcover&hl=en#v=onepage&q&f=false Online Edition], ''Turkish dominated mamluk regiments...dynasty of mamluk origin (the GHAZNAVID line) carved out an empire...''</ref> som styrede det meste af [[Persien]], [[Transoxanien]] og nordlige dele af det [[Det indiske subkontinent|indiske subkontinent]] fra 975 til 1186.<ref name="EIr">C.E. Bosworth: ''The Ghaznavids''. Edinburgh, 1963</ref><ref>[[Clifford Edmund Bosworth|C.E. Bosworth]], [http://www.iranicaonline.org/articles/ghaznavids "Ghaznavids"] in ''[[Encyclopaedia Iranica]]'', Online Edition 2006</ref><ref name="EI">[[Clifford Edmund Bosworth|C.E. Bosworth]], "Ghaznavids", in ''[[Encyclopaedia of Islam]]'', Online Edition; Brill, Leiden; 2006/2007</ref>
Historie Videnskab Humaniora Tidligere_riger,_stater,_protektorater,_kolonier_og_lande