No edit summary
Modernise infobox: optional rows, optional image, dark-mode support, new fields
 
Line 1: Line 1:
{| class="infobox" style="width: 250px; border: 1px solid #aaa; font-size: 90%;"
<includeonly><templatestyles src="IEF article/styles.css" /><table class="infobox ief-infobox"><!--
|-
--><tr><th colspan="2" class="ief-infobox-title">{{{methodology_name|{{PAGENAME}}}}}{{#if:{{{short_name|}}}|<span class="ief-infobox-subtitle">{{{short_name}}}</span>}}</th></tr><!--
! colspan="2" style="text-align: center; font-weight: bold;" | {{{methodology_name|Methodology Name}}}
-->{{#if:{{{image|}}}|<tr><td colspan="2" class="ief-infobox-image">[[File:{{{image}}}|{{{image_size|260px}}}|alt={{{alt|}}}]]{{#if:{{{caption|}}}|<div class="ief-infobox-caption">{{{caption}}}</div>}}</td></tr>}}<!--
|-
-->{{#if:{{{type|}}}|<tr><th scope="row" class="ief-infobox-label">Type</th><td class="ief-infobox-data">{{{type}}}</td></tr>}}<!--
| colspan="2" style="text-align: center;" | [[File:{{{image|Placeholder.png}}}|200px|alt={{{alt|Methodology Image}}}]]
-->{{#if:{{{developed_by|}}}|<tr><th scope="row" class="ief-infobox-label">Developed by</th><td class="ief-infobox-data">{{{developed_by}}}</td></tr>}}<!--
|-
-->{{#if:{{{version|}}}|<tr><th scope="row" class="ief-infobox-label">Version</th><td class="ief-infobox-data">{{{version}}}</td></tr>}}<!--
| '''Developed By'''
-->{{#if:{{{published|}}}|<tr><th scope="row" class="ief-infobox-label">Published</th><td class="ief-infobox-data">{{{published}}}</td></tr>}}<!--
| {{{developed_by|Unknown}}}
-->{{#if:{{{effective|}}}|<tr><th scope="row" class="ief-infobox-label">Effective</th><td class="ief-infobox-data">{{{effective}}}</td></tr>}}<!--
|-
-->{{#if:{{{status|}}}|<tr><th scope="row" class="ief-infobox-label">Status</th><td class="ief-infobox-data">{{{status}}}</td></tr>}}<!--
| '''Objective'''
-->{{#if:{{{objective|}}}|<tr><th scope="row" class="ief-infobox-label">Objective</th><td class="ief-infobox-data">{{{objective}}}</td></tr>}}<!--
| {{{objective|Not specified}}}
-->{{#if:{{{scope|}}}|<tr><th scope="row" class="ief-infobox-label">Scope</th><td class="ief-infobox-data">{{{scope}}}</td></tr>}}<!--
|-
-->{{#if:{{{applications|}}}|<tr><th scope="row" class="ief-infobox-label">Applications</th><td class="ief-infobox-data">{{{applications}}}</td></tr>}}<!--
| '''Applications'''
-->{{#if:{{{standards_followed|}}}|<tr><th scope="row" class="ief-infobox-label">Standards followed</th><td class="ief-infobox-data">{{{standards_followed}}}</td></tr>}}<!--
| {{{applications|Not available}}}
-->{{#if:{{{resources_needed|}}}|<tr><th scope="row" class="ief-infobox-label">Resources needed</th><td class="ief-infobox-data">{{{resources_needed}}}</td></tr>}}<!--
|-
-->{{#if:{{{related_techniques|}}}|<tr><th scope="row" class="ief-infobox-label">Related standards</th><td class="ief-infobox-data">{{{related_techniques}}}</td></tr>}}<!--
| '''Standards Followed'''
-->{{#if:{{{official_text|}}}|<tr><th scope="row" class="ief-infobox-label">Official text</th><td class="ief-infobox-data">{{{official_text}}}</td></tr>}}<!--
| {{{standards_followed|None specified}}}
-->{{#if:{{{website|}}}|<tr><th scope="row" class="ief-infobox-label">Website</th><td class="ief-infobox-data">{{{website}}}</td></tr>}}<!--
|-
-->{{#if:{{{updated|}}}|<tr><td colspan="2" class="ief-infobox-below">Last reviewed: {{{updated}}}</td></tr>}}</table></includeonly><noinclude>
| '''Resources Needed'''
Infobox for standards, methodologies, frameworks and disclosure standards.
| {{{resources_needed|Not listed}}}
 
|-
All parameters are optional. Rows with an empty parameter are hidden. Keep values short; separate several items with <code>&lt;br /&gt;</code> rather than bullet lists. Use <code>image=</code> with a file name only (local or from Wikimedia Commons), plus <code>caption=</code> and <code>alt=</code>.
| '''Related Techniques'''
 
| {{{related_techniques|No related techniques}}}
<pre>
|}
{{Infobox(Methodologies)
| methodology_name =
| short_name =
| image =
| caption =
| alt =
| type =
| developed_by =
| version =
| published =
| effective =
| status =
| objective =
| scope =
| applications =
| standards_followed =
| resources_needed =
| related_techniques =
| official_text =
| website =
| updated =
}}
</pre>
Styles: [[Template:IEF article/styles.css]].
</noinclude>