Jump to content

Help:Methodology Tag

From RiskiPedia

The <methodology> tag creates a collapsible section on a wiki page for technical content like data tables, risk models, calculations, and references. This keeps your main page content clean and readable while making detailed methodology available on-demand.

Basic Syntax

<methodology>
Content goes here - can include any wikitext, including:
* RiskData tables
* RiskModel definitions
* References
* Calculations
* External links
</methodology>

By default, the collapsible section will be labeled "Data, Models and References" and will be collapsed (hidden) when the page loads. Readers click to expand and view the details.

Customizing the Label

You can change the label using the label attribute:

<methodology label="Show Technical Details">
Your content here...
</methodology>
<methodology label="Calculation Methodology">
Your content here...
</methodology>

Complete Example

Here's a complete example showing how to use <methodology> with RiskData and RiskModel tags:

== Risk Assessment ==

This assessment estimates the probability and impact of data breaches.

Based on historical trends, the projected annual risk is <riskdisplay model="breach_risk"/>.

<methodology label="Show Data and Models">

=== Historical Data ===

<riskdata table="breaches">
Year|Incidents|Average Cost
2020|1000|$150000
2021|1200|$175000
2022|1350|$200000
</riskdata>

=== Risk Model ===

<riskmodel name="breach_risk"
  data-incidents_trend="1.15"
  data-base_incidents="1350"
  data-projected_incidents="base_incidents * incidents_trend"
  data-avg_cost="200000"
  data-total_risk="projected_incidents * avg_cost">
${total_risk} per year
</riskmodel>

=== References ===
* [https://example.com/breach-report Breach Cost Analysis 2022]
* Internal security audit data

</methodology>

When to Use

Use the <methodology> tag when you want to:

  • Keep technical details available but not cluttering the main narrative
  • Provide data sources and calculations for transparency
  • Include detailed models without overwhelming readers
  • Keep all related content on a single page

Tips

  • The content inside <methodology> tags is parsed as normal wikitext, so you can use all MediaWiki formatting, templates, and RiskiPedia tags
  • You can have multiple <methodology> sections on one page with different labels
  • The section is collapsed by default - readers must click to expand it
  • Use descriptive labels that tell readers what kind of information they'll find inside
  • All headings and content inside the methodology section will be part of the page's table of contents

See Also