{{__('Message Variables & Spintax')}}
{{__('Use Spintax to randomize text with {A|B}. Tokens:')}}
{{__('Example')}}: {{__('{Hi|Hello}')}} {{__('your number is')}} {number}
{{__('Samples')}}: {{__('Tag')}}: {random_text} • {{__('ID')}}: {random_num}
{{__('{random_text} is 4 random letters, e.g.')}} kdmw {{__('and {random_num} is 4 random digits, e.g.')}} 9392
{{ __('Choose') }}
@if (!empty($templates)) @foreach ($templates as $index => $tmpl) @php $parts = explode('|', $tmpl['type'] ?? 'url|Button|https://example.com'); $tmplType = $parts[0] ?? 'url'; $displayText = $parts[1] ?? 'Button'; $actionValue = $parts[2] ?? ''; @endphp
{{ __('Template Button') }} {{ $index + 1 }}
@if ($tmplType === 'url') @elseif ($tmplType === 'call') @endif
@endforeach @endif