Difference between revisions of "Template:Hadith Text InfoBox"
From HodHood
(Created page with "<div class="infobox mw-collapsible mw-collapsed"> <big>Hadith Attributes</big> <div class="mw-collapsible-content"> [[File:{{{image|HadithLogo.jpeg}}}|200px]] <table><tr> <th...") |
|||
Line 145: | Line 145: | ||
<th>Frequent Terms</th> | <th>Frequent Terms</th> | ||
<td>{{#regex:{{{freqterms}}}|%\s*\K([^,]+)%|[[Has Frequent Terms::$1]]}}</td> | <td>{{#regex:{{{freqterms}}}|%\s*\K([^,]+)%|[[Has Frequent Terms::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{sentiment|}}}|<tr> | ||
+ | <th>Sentiment</th> | ||
+ | <td>{{#regex:{{{sentiment}}}|%\s*\K([^,]+)%|[[Has Sentiment::$1]]}}</td> | ||
</tr>}} | </tr>}} | ||
</table></div></div>[[Hadith Serial Number::{{{ht_sernumber|}}}| ]][[Is Hadith Text::true| ]][[Category:Hadith Text]] | </table></div></div>[[Hadith Serial Number::{{{ht_sernumber|}}}| ]][[Is Hadith Text::true| ]][[Category:Hadith Text]] |