code: def _mediawiki_row_with_attrs(
      separator, cell_values, colwidths, colaligns
  ):
      alignment = {
          "left": "",
          "right": 'align="right"| ',
          "center": 'align="center"| ',
          "decimal": 'align="right"| ',
      }
      # hard-coded padding _around_ align attribute and value together
      # rather than padding parameter which affects only the value
      values_with_attrs = [
          " " + alignment.get(a, "") + c + " "
          for c, a in zip(cell_values, colaligns)
      ]
      colsep = separator * 2
      return (separator + colsep.join(values_with_attrs)).rstrip()
  
imports: from __future__ import print_function
  from __future__ import unicode_literals
  from collections import namedtuple
  from platform import python_version_tuple
  import re
label_desc: Use image node_id 3 for calling a global function with example usage: _mediawiki_row_with_attrs(separator, cell_values, colwidths, colaligns) and returns: unknown