You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Difference between revisions of "Template:Infobox payment service provider"

From Wikitech-static
Jump to navigation Jump to search
imported>Cstone
 
imported>Cstone
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
! colspan="2" style="background: lavender; text-align: center; font-size: larger; padding: 0.5em"| {{#if:{{{dc|<noinclude>demo</noinclude>}}}|{{{dc|Example PSP}}}|{{BASEPAGENAME}}}}
! colspan="2" style="background: lavender; text-align: center; font-size: larger; padding: 0.5em"| {{#if:{{{current_name|<noinclude>demo</noinclude>}}}|{{{current_name|Example PSP}}}|{{BASEPAGENAME}}}}
|-
|-
| colspan="2" style="text-align: center;" |  
| colspan="2" style="text-align: center;" |  
Line 15: Line 15:
! Countries
! Countries
| {{#if:{{{countries|}}}|{{{countries}}}|?}}
| {{#if:{{{countries|}}}|{{{countries}}}|?}}
|-
! Documentation
| {{#if:{{{documentation|}}}|{{{documentation}}}|?}}
|-
! Test Console
| {{#if:{{{test_console|}}}|{{{test_console}}}|?}}
|-
! Contact
| {{#if:{{{contact|}}}|{{{contact}}}|?}}
|}
|}
<noinclude><div class="template-documentation">
<noinclude><div class="template-documentation">
Line 48: Line 57:
"required": true
"required": true
},
},
"console": {
"documentation": {
"label": "Console",
"label": "Documentation",
"description": "Their payment console",
"description": "Link to the documentation",
"example": "example.link",
"type": "content",
"required": true
},
"test_console": {
"label": "Test Console",
"description": "Their test payment console",
"example": "console.url",
"example": "console.url",
"type": "string",
"type": "string",
Line 59: Line 75:
"description": "How to contact them",
"description": "How to contact them",
"example": "Example person name",
"example": "Example person name",
"type": "string"
"type": "string",
"required": false
}
}
},
},
Line 68: Line 85:
"payment_methods",
"payment_methods",
"countries",
"countries",
"console",
"documentation",
"test_console",
"contact"
"contact"
],
],
Line 81: Line 99:
| payment_methods =
| payment_methods =
| countries =
| countries =
| console =
| documentation =
| test_console =
| contact =
| contact =
}}
}}

Revision as of 20:19, 22 November 2021

Example PSP
Original Name ?
Current Name ?
Payment Methods ?
Countries ?
Documentation ?
Test Console ?
Contact ?

<templatedata> { "params": { "original_name": { "label": "Original Name", "description": "name of the PSP when we implemented it", "example": "Paypal", "type": "content", "required": true }, "current_name": { "label": "Current Name", "description": "Current name of the PSP", "example": "Paypal EC", "type": "content", "required": false }, "payment_methods": { "label": "Payment Methods", "description": "Supported payment methods", "example": "Credit Card, Bank Transfer", "type": "content", "required": true }, "countries": { "label": "Countries", "description": "Countries this is the main processor for", "example": "US, CA", "type": "content", "required": true }, "documentation": { "label": "Documentation", "description": "Link to the documentation", "example": "example.link", "type": "content", "required": true }, "test_console": { "label": "Test Console", "description": "Their test payment console", "example": "console.url", "type": "string", "required": false }, "contact": { "label": "Contact", "description": "How to contact them", "example": "Example person name", "type": "string", "required": false } }, "description": "Infobox about a payment processor", "paramOrder": [ "original_name", "current_name", "payment_methods", "countries", "documentation", "test_console", "contact" ], "format": "block" } </templatedata>

Example

{{Infobox payment service provider
| original_name =
| current_name =
| payment_methods =
| countries =
| documentation =
| test_console =
| contact =
}}