Difference between revisions of "Template:Hadith Text"
From HodHood
Line 21: | Line 21: | ||
<td>{{#regex:{{{hadith-sub-topic}}}|%\s*\K([^,]+)%|[[Has Sub Topic::$1]]}}</td> | <td>{{#regex:{{{hadith-sub-topic}}}|%\s*\K([^,]+)%|[[Has Sub Topic::$1]]}}</td> | ||
</tr>}} | </tr>}} | ||
+ | |||
+ | {{#if:{{{notables|}}}|<tr> | ||
+ | <th>Notables</th> | ||
+ | <td>{{#regex:{{{notables}}}|%\s*\K([^,]+)%|[[Has Notables::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | |||
+ | |||
+ | |||
<tr> | <tr> | ||
− | |||
− | |||
− | |||
<th>Animals</th> | <th>Animals</th> | ||
<td>{{#regex:{{{animals|}}}|%\s*\K([^,]+)%|[[Has Animals::$1]]}}</td> | <td>{{#regex:{{{animals|}}}|%\s*\K([^,]+)%|[[Has Animals::$1]]}}</td> |