Jump to content

Template:FinancialConcept: Difference between revisions

From Finance Interactive Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="border:1px solid #ccc; padding:10px; margin:10px 0;"><h3 style="margin:0; padding:5px; background-color:#f0f0f0;">{{{Name|Unnamed Concept}}}</h3><div style="margin:5px 0; border:1px solid #ddd; padding:5px;"><b>Academic Definition:</b><br />{{{Academic definition|No definition provided.}}}</div>{{#if:{{{Simplified explanation|}}}|<div style="margin:5px 0; border:1px solid #ddd; padding:5px;"><b>Simplified Explanation:</b><br />{{{Simplified explanation}}}</div>|}}{{#if:{{{How it appears in the game|}}}|<div style="margin:5px 0; border:1px solid #ddd; padding:5px;"> <b>How It Appears in the Game:</b><br />{{{How it appears in the game}}}</div>|}}{{#if:{{{References|}}}|<div style="margin:5px 0; border:1px solid #ddd; padding:5px;"><b>References:</b><br />{{{References}}}</div>|}}{{#if:{{{Related concepts|}}}|<div style="margin:5px 0; border:1px solid #ddd; padding:5px;"><b>Related Concepts:</b><br />{{{Related concepts}}}</div>|}}
<div style="border:1px solid #ccc; padding:10px; margin:10px 0;"><h3 style="margin:0; padding:5px; background-color:#f0f0f0;">{{{Name|Unnamed Concept}}}</h3><div style="margin:5px 0; border:1px solid #ddd; padding:5px;"><b>Academic Definition:</b><br />{{{AcademicDefinition|No definition provided.}}}</div>{{#if:{{{SimplifiedExplanation|}}}|<div style="margin:5px 0; border:1px solid #ddd; padding:5px;"><b>Simplified Explanation:</b><br />{{{SimplifiedExplanation}}}</div>|}}{{#if:{{{HowAppearsInGame|}}}|<div style="margin:5px 0; border:1px solid #ddd; padding:5px;"> <b>How It Appears in the Game:</b><br />{{{HowAppearsInGame}}}</div>|}}{{#if:{{{References|}}}|<div style="margin:5px 0; border:1px solid #ddd; padding:5px;"><b>References:</b><br />{{{References}}}</div>|}}{{#if:{{{RelatedConcepts|}}}|<div style="margin:5px 0; border:1px solid #ddd; padding:5px;"><b>Related Concepts:</b><br />{{{RelatedConcepts}}}</div>|}}
</div>
</div>


Line 5: Line 5:
<templatedata>
<templatedata>
{
{
  "description": "Displays a financial concept with academic definition, simplified explanation, in-game usage, references, and related concepts. Optional sections are hidden if empty.",
"description": "Displays a financial concept with academic definition, simplified explanation, in-game usage, references, and related concepts. Optional sections are hidden if empty.",
  "params": {
"params": {
    "Name": {
"Name": {
      "label": "Name",
"label": "Name",
      "description": "The name of the financial concept.",
"description": "The name of the financial concept.",
      "type": "string",
"type": "string",
      "required": true
"required": true
    },
},
    "Academic definition": {
"AcademicDefinition": {
      "label": "Academic Definition",
"label": "Academic Definition",
      "description": "The formal academic definition of the concept.",
"description": "The formal academic definition of the concept.",
      "type": "content",
"type": "content",
      "required": true
"required": true
    },
},
    "Simplified explanation": {
"SimplifiedExplanation": {
      "label": "Simplified Explanation",
"label": "Simplified Explanation",
      "description": "An optional simplified, layperson-friendly explanation of the concept.",
"description": "An optional simplified, layperson-friendly explanation of the concept.",
      "type": "content",
"type": "content",
      "required": false
"required": false
    },
},
    "How it appears in the game": {
"HowAppearsInGame": {
      "label": "How It Appears in the Game",
"label": "How It Appears in the Game",
      "description": "Optional description of how this concept is implemented or represented in the game.",
"description": "Optional description of how this concept is implemented or represented in the game.",
      "type": "content",
"type": "content",
      "required": false
"required": false
    },
},
    "References": {
"References": {
      "label": "References",
"label": "References",
      "description": "Optional references, citations, or links for further reading.",
"description": "Optional references, citations, or links for further reading.",
      "type": "content",
"type": "content",
      "required": false
"required": false
    },
},
    "Related concepts": {
"RelatedConcepts": {
      "label": "Related Concepts",
"label": "Related Concepts",
      "description": "Optional list or description of concepts related to this one.",
"description": "Optional list of pages of related concepts. Use HTML list",
      "type": "content",
"type": "content",
      "required": false
"required": false,
    }
"example": "<ul>  <li>[[Discount Rate]]</li>  <li>[[Internal Rate of Return]]</li>  <li>[[Cash Flow]]</li> </ul> "
  }
}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 19:53, 16 March 2025

Unnamed Concept

Academic Definition:
No definition provided.


Displays a financial concept with academic definition, simplified explanation, in-game usage, references, and related concepts. Optional sections are hidden if empty.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
NameName

The name of the financial concept.

Stringrequired
Academic DefinitionAcademicDefinition

The formal academic definition of the concept.

Contentrequired
Simplified ExplanationSimplifiedExplanation

An optional simplified, layperson-friendly explanation of the concept.

Contentoptional
How It Appears in the GameHowAppearsInGame

Optional description of how this concept is implemented or represented in the game.

Contentoptional
ReferencesReferences

Optional references, citations, or links for further reading.

Contentoptional
Related ConceptsRelatedConcepts

Optional list of pages of related concepts. Use HTML list

Example
<ul> <li>[[Discount Rate]]</li> <li>[[Internal Rate of Return]]</li> <li>[[Cash Flow]]</li> </ul>
Contentoptional