Difference between revisions of "Template:Hadith Text InfoBox"
From HodHood
Line 150: | Line 150: | ||
<th>Sentiment</th> | <th>Sentiment</th> | ||
<td>{{#regex:{{{sentiment}}}|%\s*\K([^,]+)%|[[Has Sentiment::$1]]}}</td> | <td>{{#regex:{{{sentiment}}}|%\s*\K([^,]+)%|[[Has Sentiment::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{polarity|}}}|<tr> | ||
+ | <th>Polarity</th> | ||
+ | <td>{{#regex:{{{polarity}}}|%\s*\K([^,]+)%|[[Has Polarity::$1]]}}</td> | ||
</tr>}} | </tr>}} | ||
</table></div></div>[[Hadith Serial Number::{{{ht_sernumber|}}}| ]][[Is Hadith Text::true| ]] | </table></div></div>[[Hadith Serial Number::{{{ht_sernumber|}}}| ]][[Is Hadith Text::true| ]] |