Template:Infobox(Methodologies): Difference between revisions
Appearance
Created page with "{| class="infobox" style="width: 250px; background-color: #F9F9F9; border: 1px solid #aaa; font-size: 90%;" |- ! colspan="2" style="background-color: #CCCCCC; text-align: center; font-weight: bold;" | {{{methodology_name|Methodology Name}}} |- | colspan="2" style="text-align: center;" | [[File:{{{image|Placeholder.png}}}|200px|alt={{{alt|Methodology Image}}}]] |- | '''Developed By''' | {{{developed_by|Unknown}}} |- | '''Objective''' | {{{objective|Not specified}}} |- | '..." |
Modernise infobox: optional rows, optional image, dark-mode support, new fields |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<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><!-- | |||
-->{{#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" | -->{{#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>}}<!-- | ||
| | -->{{#if:{{{published|}}}|<tr><th scope="row" class="ief-infobox-label">Published</th><td class="ief-infobox-data">{{{published}}}</td></tr>}}<!-- | ||
| {{{ | -->{{#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>}}<!-- | ||
| | -->{{#if:{{{objective|}}}|<tr><th scope="row" class="ief-infobox-label">Objective</th><td class="ief-infobox-data">{{{objective}}}</td></tr>}}<!-- | ||
-->{{#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>}}<!-- | ||
| | -->{{#if:{{{standards_followed|}}}|<tr><th scope="row" class="ief-infobox-label">Standards followed</th><td class="ief-infobox-data">{{{standards_followed}}}</td></tr>}}<!-- | ||
-->{{#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>}}<!-- | ||
| | -->{{#if:{{{official_text|}}}|<tr><th scope="row" class="ief-infobox-label">Official text</th><td class="ief-infobox-data">{{{official_text}}}</td></tr>}}<!-- | ||
| {{{ | -->{{#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> | ||
| | Infobox for standards, methodologies, frameworks and disclosure standards. | ||
|- | All parameters are optional. Rows with an empty parameter are hidden. Keep values short; separate several items with <code><br /></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>. | ||
| | |||
| {{{ | <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> | |||
Latest revision as of 09:40, 15 November 2026
Infobox for standards, methodologies, frameworks and disclosure standards.
All parameters are optional. Rows with an empty parameter are hidden. Keep values short; separate several items with <br /> rather than bullet lists. Use image= with a file name only (local or from Wikimedia Commons), plus caption= and alt=.
{{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 =
}}
Styles: Template:IEF article/styles.css.