Difference between revisions of "Template:Hadith Text InfoBox"
From HodHood
Line 58: | Line 58: | ||
<th>Family</th> | <th>Family</th> | ||
<td>{{#regex:{{{family}}}|%\s*\K([^,]+)%|[[Has Family::$1]]}}</td> | <td>{{#regex:{{{family}}}|%\s*\K([^,]+)%|[[Has Family::$1]]}}</td> | ||
− | </tr>}}{{#if:{{{tribes-name|}}}|<tr> | + | </tr>}} |
+ | {{#if:{{{quran-tribes-name|}}}|<tr> | ||
+ | <th>Quran Tribes Name</th> | ||
+ | <td>{{#regex:{{{quran-tribes-name}}}|%\s*\K([^,]+)%|[[Has Quran Tribes Name::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{hadith-tribes-name|}}}|<tr> | ||
+ | <th>Hadith Tribes Name</th> | ||
+ | <td>{{#regex:{{{hadith-tribes-name}}}|%\s*\K([^,]+)%|[[Has Hadith Tribes Name::$1]]}}</td> | ||
+ | </tr>}} | ||
+ | {{#if:{{{tribes-name|}}}|<tr> | ||
<th>Tribes Name</th> | <th>Tribes Name</th> | ||
<td>{{#regex:{{{tribes-name}}}|%\s*\K([^,]+)%|[[Has Tribes Name::$1]]}}</td> | <td>{{#regex:{{{tribes-name}}}|%\s*\K([^,]+)%|[[Has Tribes Name::$1]]}}</td> | ||
− | </tr>}}{{#if:{{{astronomical-body|}}}|<tr> | + | </tr>}} |
+ | |||
+ | |||
+ | |||
+ | {{#if:{{{astronomical-body|}}}|<tr> | ||
<th>Astronomical Body</th> | <th>Astronomical Body</th> | ||
<td>{{#regex:{{{astronomical-body}}}|%\s*\K([^,]+)%|[[Has Astronomical Body::$1]]}}</td> | <td>{{#regex:{{{astronomical-body}}}|%\s*\K([^,]+)%|[[Has Astronomical Body::$1]]}}</td> |