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:{{{current_name|<noinclude>demo</noinclude>}}}|{{{current_name|Example PSP}}}|{{BASEPAGENAME}}}}
! colspan="2" style="background: lavender; text-align: center; font-size: larger; padding: 0.5em"| {{#if:{{{our_name|<noinclude>demo</noinclude>}}}|{{{our_name|Example PSP}}}|{{BASEPAGENAME}}}}
|-
|-
| colspan="2" style="text-align: center;" |  
| colspan="2" style="text-align: center;" |  
Line 6: Line 6:
! Original Name
! Original Name
| {{#if:{{{original_name|}}}|{{{original_name}}}|?}}
| {{#if:{{{original_name|}}}|{{{original_name}}}|?}}
|-
! Our Name
| {{#if:{{{our_name|}}}|{{{our_name}}}|?}}
|-
|-
! Current Name
! Current Name
Line 32: Line 35:
"label": "Original Name",
"label": "Original Name",
"description": "name of the PSP when we implemented it",
"description": "name of the PSP when we implemented it",
"example": "Paypal",
"type": "content",
"required": true
},
"our_name": {
"label": "Our Name",
"description": "Our name of the PSP",
"example": "Paypal",
"example": "Paypal",
"type": "content",
"type": "content",
Line 82: Line 92:
"paramOrder": [
"paramOrder": [
"original_name",
"original_name",
"our_name",
"current_name",
"current_name",
"payment_methods",
"payment_methods",
Line 96: Line 107:
{{Infobox payment service provider
{{Infobox payment service provider
| original_name =
| original_name =
| our_name =
| current_name =
| current_name =
| payment_methods =
| payment_methods =

Latest revision as of 22:28, 23 November 2021

Example PSP
Original Name ?
Our 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 }, "our_name": { "label": "Our Name", "description": "Our name of the PSP", "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", "our_name", "current_name", "payment_methods", "countries", "documentation", "test_console", "contact" ], "format": "block" } </templatedata>

Example

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