Jump to content
This site is currently in alpha, so you will run into rough edges.

Template:Startup/Funding entry/doc: Difference between revisions

From The Deep Tech Wiki
Created page with "== Description == This template defines a single row in the Template:Startup/Funding history table. It also stores Semantic MediaWiki subobject data for the funding event. == Usage == <pre> {{Startup/Funding entry | investor = Sequoia | round = Series A }} </pre>"
 
No edit summary
Line 1: Line 1:
== Description ==
== Description ==
This template defines a single row in the [[Template:Startup/Funding history table]]. It also stores Semantic MediaWiki subobject data for the funding event.
This template defines a single row in the [[Template:Startup/Funding history table]].  
 
It handles two tasks:
# **Display:** Renders a table row with the Investor name and Round.
# **Data Storage:** Stores a Semantic MediaWiki subobject with the funding details.
 
== ⚠️ Important: Subpage Logic ==
To prevent duplicate data, this template includes a conditional check:
* It **only stores** the subobject if the page name ends in <code style="background:#eee">/Funding_history</code>.
* This allows you to transclude the Funding History table onto a main Startup page without creating a second, duplicate set of semantic data.


== Usage ==
== Usage ==

Revision as of 13:00, 2 December 2025

Description

This template defines a single row in the Template:Startup/Funding history table.

It handles two tasks:

  1. **Display:** Renders a table row with the Investor name and Round.
  2. **Data Storage:** Stores a Semantic MediaWiki subobject with the funding details.

⚠️ Important: Subpage Logic

To prevent duplicate data, this template includes a conditional check:

  • It **only stores** the subobject if the page name ends in /Funding_history.
  • This allows you to transclude the Funding History table onto a main Startup page without creating a second, duplicate set of semantic data.

Usage

{{Startup/Funding entry
| investor = Sequoia
| round = Series A
}}