Difference between revisions of "Template:Hadith Text InfoBox"
From HodHood
Line 17: | Line 17: | ||
<th>Notables</th> | <th>Notables</th> | ||
<td>{{#regex:{{{notables}}}|%\s*\K([^,]+)%|[[Has Notables::$1]]}}</td> | <td>{{#regex:{{{notables}}}|%\s*\K([^,]+)%|[[Has Notables::$1]]}}</td> | ||
− | </tr>}}{{#if:{{{animals|}}}|<tr> | + | </tr>}} |
+ | {{#if:{{{narrators|}}}|<tr> | ||
+ | <th>Narrators</th> | ||
+ | <td>{{#regex:{{{narrators}}}|%\s*\K([^,]+)%|[[Has Narrators::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{animals|}}}|<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> |