Difference between revisions of "Template:Hadith Text"
From HodHood
Line 3: | Line 3: | ||
[[File:{{{image|Notable.png}}}|200px]] | [[File:{{{image|Notable.png}}}|200px]] | ||
<table> | <table> | ||
− | + | ||
+ | |||
+ | <tr> | ||
<th>Hadith Grade</th> | <th>Hadith Grade</th> | ||
<td>{{#regex:{{{hadith-grade|}}}|%\s*\K([^,]+)%|[[Has Hadith Grade::$1]]}}</td> | <td>{{#regex:{{{hadith-grade|}}}|%\s*\K([^,]+)%|[[Has Hadith Grade::$1]]}}</td> | ||
Line 15: | Line 17: | ||
</tr>}} | </tr>}} | ||
+ | {{#if:{{{hadith-sub-topic|}}}|<tr> | ||
+ | <th>Hadith SubTopic</th> | ||
+ | <td>{{#regex:{{{hadith-sub-topic}}}|%\s*\K([^,]+)%|[[Has Sub Topic::$1]]}}</td> | ||
+ | </tr>}} | ||
<tr> | <tr> | ||
− | |||
− | |||
− | |||
<th>Notables</th> | <th>Notables</th> | ||
<td>{{#regex:{{{notables|}}}|%\s*\K([^,]+)%|[[Has Notables::$1]]}}</td> | <td>{{#regex:{{{notables|}}}|%\s*\K([^,]+)%|[[Has Notables::$1]]}}</td> |