Difference between revisions of "Template:Article"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 37: Line 37:
 
<div class="mb-3 add-button plainlinks text-center" style="margin-top: -15px;">
 
<div class="mb-3 add-button plainlinks text-center" style="margin-top: -15px;">
 
[https://research.tsadra.org/index.php/{{SUBPAGENAMEE}} <i class="fas fa-file fa-sm"></i> view]&nbsp;&nbsp;·&nbsp;&nbsp;[https://research.tsadra.org/index.php/{{SUBPAGENAMEE}}?action=formedit <i class="fas fa-edit fa-sm"></i> edit]
 
[https://research.tsadra.org/index.php/{{SUBPAGENAMEE}} <i class="fas fa-file fa-sm"></i> view]&nbsp;&nbsp;·&nbsp;&nbsp;[https://research.tsadra.org/index.php/{{SUBPAGENAMEE}}?action=formedit <i class="fas fa-edit fa-sm"></i> edit]
</div> | }}
+
</div> | }}{{#switch: {{#external_value:BuNayGrade}}
<div class="bnw-article-title">{{{ ArticleTitle | }}}</div>{{#switch:{{{ ArticleLayout | }}}
 
|Simple Layout
 
|Alternate Source=<div>''{{{ AuthorName | }}}'' · {{{ PubDate | }}}{{#ifeq: {{{ ArticleLayout | }}} | Alternate Source |&nbsp;· <span style="color: {{{ AlternateSourceColor | }}};">[[{{{ AlternateSourceLogo | }}}|x33px]] [{{{ AlternateSourceLink | }}} {{{ AlternateSourceName | }}}]</span>|}}</div>
 
}}{{#switch: {{#external_value:BuNayGrade}}
 
 
|I=[[:Category:Level I|<span class="level-link" style="color: rgb(1, 103, 28);">I</span>]]
 
|I=[[:Category:Level I|<span class="level-link" style="color: rgb(1, 103, 28);">I</span>]]
 
|II=[[:Category:Level II|<span class="level-link" style="color: rgb(255, 166, 3);">II</span>]]
 
|II=[[:Category:Level II|<span class="level-link" style="color: rgb(255, 166, 3);">II</span>]]
Line 48: Line 44:
 
|
 
|
 
}}
 
}}
 +
<div class="bnw-article-title">{{{ ArticleTitle | }}}</div>{{#switch:{{{ ArticleLayout | }}}
 +
|Simple Layout
 +
|Alternate Source=<div>''{{{ AuthorName | }}}'' · {{{ PubDate | }}}{{#ifeq: {{{ ArticleLayout | }}} | Alternate Source |&nbsp;· <span style="color: {{{ AlternateSourceColor | }}};">[[{{{ AlternateSourceLogo | }}}|x33px]] [{{{ AlternateSourceLink | }}} {{{ AlternateSourceName | }}}]</span>|}}</div>
 +
}}
 
</div>
 
</div>
 
<div class="row mt-5">
 
<div class="row mt-5">

Revision as of 17:55, 11 June 2018