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